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
3
votes
2 answers
Git protocol in Apache Commons VFS
Do you know about any implementation of git:// protocol for Apache Commons VFS in Java?
Of course Git isn't among officially supported file systems, see http://commons.apache.org/proper/commons-vfs/filesystems.html — but I can't believe there is no…

dond
- 138
- 7
3
votes
1 answer
READ/WRITE and RELEASE handling in Linux device driver against multithreaded application
While writing a driver, I came across a issue mentioned below.
Given a multithreaded application accessing the same device file through same FD. Consider that between the calls to OPEN and RELEASE, there are some resources (say mutex) held mutually…

user31986
- 1,558
- 1
- 14
- 29
3
votes
6 answers
Exposing SQL Server database objects as files in a file system
There's more than one file system
Most version control tools operate on the local disk file system.
Database objects for most relational database systems do exist in a file system, inasmuch as there is a textual name identifying the object and the…

Peter Wone
- 17,965
- 12
- 82
- 134
3
votes
1 answer
How do I return a response in an wso2 esb proxy with vfs JMS Sender?
I have a proxy service in WSO2 ESB 4.5.0 that is supposed to handle a SOAP-request from a webclient, send information to a JMS-topic and then respond to the the webclient.
The problem is that when I use the JMS-sender it by default waits for a…

Tommy Ekh
- 31
- 4
3
votes
1 answer
Apache Commonfs VFS avoid growing temp dir
I have an issue with VFS. I developed a web application to paste a URL of a deploy package(zip file) into a textarea. You can view deploy scripts and at the end deploy the application. It runs on a tomcat on a small machine. The deploy packages are…

lrxw
- 3,576
- 7
- 32
- 46
2
votes
1 answer
lookup a directory in kernel module
I am writing a stackable file system which would rename unlinked files to a particular folder say abc by default. So as any file /xyz is unlinked its renamed to /abc/xyz. I want to do this by overriding the unlink function of stackable file system.…

gaurav
- 872
- 2
- 10
- 25
2
votes
1 answer
How do I fix issue with Git and pdfmake-chinese font?
I am currently using the 方正黑体简体.TTF font included in pdfmake-chinese library. I already tested it when printing PDFs and the Chinese fonts are displayed correctly. Right now, I want to push my Javascript file that contains the vfs_fonts.js but I'm…

iamrooovic
- 47
- 6
2
votes
1 answer
How does `do_new_mount_fc()` mount real file systems like ext4?
In relatively old Linux kernel source codes, the do_new_mount() will call vfs_kern_mount(), which will finally do mount_fs(). And this function will call the real file system's function like below
struct dentry *
mount_fs(struct file_system_type…

tyChen
- 1,404
- 8
- 27
2
votes
0 answers
How to create a virtual file system in Java/Kotlin with root in specific real directory?
I need a virtual file system that a directory of host file system as its own root. Whatever path the VFS is asked to resolve, it should never go beyond the specified directory host's directory. For example:
FileSystem fs = new…

lowercase93
- 325
- 1
- 10
2
votes
3 answers
Buffering on top of VFS
the problem I try to deal with it is the saving of big number (millions) of small files (up to 50KB), which are sent via network. The saving is done sequential: server receives a file or a dir (via network), it saves it on disk; the next one…

Florin M
- 179
- 2
- 9
2
votes
1 answer
Linux buffer cache for DVD/FUSE?
I want to know whether the buffer cache in Linux kernel is present for file systems like UDF for DVD and FUSE?
I tried to search for this but unfortunately found little information.
Thanks.

Ryan Li
- 9,020
- 7
- 33
- 62
2
votes
0 answers
Is Linux file system layer(not the VFS) aware of page cache
In Linux file system i understand Page cache is between VFS and the file system. Want to know, at any point of time whether the file system will be aware of the pages (of a file) that are in the page cache or only VFS layer only will have this…

natrayan
- 345
- 2
- 11
2
votes
0 answers
WSO2 VFS parallel processing
I'm using WSO2 ESB to process files: an inbound-endpoint with polling, detect a file and pass it to a sequence. That sequence read the file and process records (writing to database).
My question is about processing multiple files at once.
For now I…

Julien GRESSE
- 354
- 1
- 13
2
votes
1 answer
How to get the date of a file in Apache vfs
I'm trying to get the date of a file which is in a Apache vfs.
There is a getAttribute-Method in org.apache.commons.vfs2.FileSystem, but I can't find any examples on how to use it.
I'm pretty sure that it is possible by using this method. The…

LaaKii
- 95
- 11
2
votes
0 answers
startOnLoad is not working as expeceted
I have created VFS based proxy service as below but property startOnLoad="false" is not working as expected. Even after the deployment of the proxy, we need to manually click Activate and then click disable to permanently disable VFX proxy.
But the…

storia321
- 381
- 2
- 22