Virtual File System provides a single API for accessing various different file systems. It presents a uniform view of the files from various different sources, such as the files on local disk, on an HTTP server, or inside a Zip archive.
Questions tagged [vfs]
321 questions
5
votes
1 answer
How do I automatically clean up my $JBOSS_HOME/standalone/tmp directory?
I’m using JBoss 7.1.3.Final on my dev machine, a Mac 10.9.1. I’m trying to get my /tmp/vfs directory to clean itself up (with a max caching time of a day), so I added this line to my $JBOSS_HOME/bin/standalone.conf file …
JAVA_OPTS="$JAVA_OPTS…

Dave
- 15,639
- 133
- 442
- 830
5
votes
1 answer
Adding custom file system support to Apache VFS
Does Apache VFS provides a pluggable mechanism to add support for a custom file system not provided by default?
Is there any example how to do that?

pditommaso
- 3,186
- 6
- 28
- 43
5
votes
2 answers
Virtual (flat) file system in C++
Essentially I need to implement a program to act as a user space file system that implements very simple operations such as viewing what is on the disk, copying files to and from the native file system to my file system ( which is contained in a…

Jason M.
- 692
- 2
- 8
- 24
4
votes
1 answer
URI for nested zip files in Apache's common -vfs?
I have a zip file (let's say 'inside.zip') inside another zip file (let's say 'outside.zip'). I am using Apache's common-vfs2 Java library and providing a uri like zip:file:///path/to/outside.zip to open the zip file. However, it cannot open the zip…

pathikrit
- 32,469
- 37
- 142
- 221
4
votes
2 answers
Any free java VFS library?
I'm looking for a free java library which will allow me to organize part of the file system as one physical file. I have ruled out Apache VFS, because I need an unique format which will be hard to parse for someone else, not zips, tars, etc. Is…

glodos
- 1,203
- 3
- 13
- 21
4
votes
1 answer
Mondrian Can't find Schema in VFS when used in a Webapp
I have a webapp that I'm trying to use Mondrian within. And I'm getting the following exception when I try to open a connection:
Caused by: mondrian.olap.MondrianException: Mondrian Error:Internal error: Virtual file is not readable:…

chubbsondubs
- 37,646
- 24
- 106
- 138
4
votes
0 answers
How to insert a ramfs module into linux kernel
I want to compile source code of a very simple file system--ramfs. But when I inserted the module into Linux kernel 3.10 I got a problem:
could not insert module myramfs.ko: Device or resource busy
I don't know which step I did wrong。The following…

Maik Fang
- 51
- 2
4
votes
2 answers
SFTP connection error with JSch: SSH_MSG_DISCONNECT: 11 Internal server error
I was trying to retrieve a file from SFTP server - while connecting to this SFTP works with FileZilla - SFTP method.
For JSch I have tried this code using JSch
JSch jsch = new JSch();
Properties config = new…

2Big2BeSmall
- 1,348
- 3
- 20
- 40
4
votes
1 answer
View RPC RMI related code in Network file system
I am studying Network File system and there mechanisms, they use RPC to run commands on remote machine (server). I have tried bare RPC assignments, like generating stubs using RPCgen, and running client server code.
I would like to know where in…

RootPhoenix
- 1,626
- 1
- 22
- 40
4
votes
0 answers
Read/write data using mmap for encrypted file system
I am working on an encrypted filesystem that encrypts data just before writing it to disk and decrypts it right after reading from disk. Any file in disk is useless if not decrypted first. so far I changed standard read and write methods that…

Amir H
- 482
- 4
- 10
4
votes
1 answer
WSO2 ESB 4.8 VFS proxy service - MoveAfterFailure?
I have some doubts about how VFS proxy services work on WSO2 ESB 4.8.0.
I prepared the following test service:

gruby karol
- 329
- 2
- 11
4
votes
1 answer
Ideas for implementing a VFS
I have multimedia files and its metadata stored in a RDBMS (actually, the actual media files are stored in the FS, but let's not dwell on that).
I would like to present a filesystem view of this information, so that users can work using Windows…

alex
- 5,213
- 1
- 24
- 33
4
votes
1 answer
how to make commons VFS runs permanently
I'm using commons VFS to monitor certain folder for changes (mainly inserting new file), the program should runs permanently, I use the following code
FileSystemManager fsManager = VFS.getManager();
FileObject listendir =…

Michael Samir
- 165
- 1
- 4
- 14
4
votes
2 answers
Apache Commons VFS Maven Repository?
Any idea on which Maven repository to use in order to use Apache commons VFS libraries?
Thanks.
org.apache.commons
commons-vfs2
2.1-SNAPSHOT
…

kiwifrog
- 764
- 3
- 10
- 23
3
votes
3 answers
Why does Linux boot with a few dentries initialized for root directory "/"
I am playing around Linux kernel code, especially the file system part. I've found that when the kernel boots, a few of dentry objects are allocated for root directory "/". Why dose it need to allocate multiple copies of root directory in RAM?…

eddyxu
- 638
- 6
- 19