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
0
votes
1 answer
How are the file-descriptors allocated when an open()/socket() is called from inside kernel?
Some kernel libs (eg. rpc) open a socket inside kernel, and are associated with file-descriptors (FDs). These could be used by any process hitting the code. Given that for any process, the FDs are stored in the task_struct in its File Descriptor…

user31986
- 1,558
- 1
- 14
- 29
0
votes
1 answer
How can I probe file open and close at VFS using SystemTap
I seen example of SystemTap script using probe syscall.open.return { }
But there are some application doesn't call systemcall
So how can I probe file open at VFS

SilverIce
- 75
- 1
- 13
0
votes
0 answers
Replacing file for specific program
The list of things I have:
Windows 8.
A program ("foo") that executes another program ("bar").
A "bar".
A replacement ("baz") for "bar".
Now the "foo" executes the "bar", but I need it to execute the "baz", which will execute "bar" and do things…

user5158598
- 1
- 1
0
votes
1 answer
Virtual filesystem backed up by key-value database
I am looking for an existing virtual filesystem implementation that stores its data in key-value database. (I was not able to find much as internet is crowded by key-value databases backed up by filesystem.)
I would like to avoid creating it,…

Oliver Gondža
- 3,386
- 4
- 29
- 49
0
votes
1 answer
wso2 proxy vfs to vfs - two dependant files
We have requirement to monitor input folder where we are expecting some batch files. The source sends some large files eg : xxx123.dat followed by xxx123.end file to indicate complete transfer.
How can we configure wso2 vfs proxy to start reading…

Sajeev
- 1
- 1
0
votes
1 answer
Using VFS to Write a File
I've recently started working with WSO2 and I am encountering a problem with using the VFS to write to a file.

Joe T.
- 43
- 6
0
votes
1 answer
Docker out of space with vfs driver
I'm trying to run an image of wordpress in docker 1.6.2 with kernel 2.6.32-042stab106.4, I'm tight on that kernel because docker is installed in a VPS.
When Docker tries to download the image the system ran out of space.
I tried to change the…

Gerard Ribas
- 717
- 1
- 9
- 17
0
votes
1 answer
Why does DefaultFileMonitor keep listing the files in my FTP location in a loop?
An edited version of the java code:
FileSystemOptions opts = new FileSystemOptions();
DefaultFileSystemConfigBuilder.getInstance().setUserAuthenticator(opts, auth);
// fileToMonitor is the FTP folder.
LOG.debug("Trying to resolve…

ilitirit
- 16,016
- 18
- 72
- 111
0
votes
1 answer
create a new file from payload in wso2
I am new to wso2 and working on a few POCs where i have to create a file at some location , i have looked into all vfs examples where there is always a file processed and written to a new location.
What i want to achieve is write a new file to a…

Rahul
- 170
- 2
- 14
0
votes
1 answer
SQLite WAL-mode, in-memory, database with private cache?
I am working on a project which relies on the read snapshot isolation that the WAL journal mode provides in Sqlite. It uses multiple connections to the same database to allow concurrent readers and a single writer.
For testing, I would like to use…

skabbes
- 890
- 7
- 17
0
votes
1 answer
How to add new samba vfs module to build
I know this question was asked here: samba VFS module but that answer doesn't seem to work for me, so I'm wondering if something's changed...
I'm working with source from the 4.1.6 tree and I've added a new vfs module file (under source3/modules),…

Ed.
- 928
- 1
- 10
- 23
0
votes
0 answers
Example for reading directory contents in kernel mode?
I am currently working on an antiroot-kit for android as a student project. My task is to identify hidden files on the filesystem.
Therefore, I want to read the contents of a directory in a kernel module to compare it with the contents of a…

hasnoroot
- 33
- 6
0
votes
0 answers
access files in WEB-INF/lib from WAR in Wildfly
I´m trying to deploy an Java EE aplication on WildFly, this application contains a EJB which do a task with applications jars, this jars files stay in WEB-INF/lib inside the .war file, bellow is a stretch of code.
@Singleton
@Startup
public class…

Eduardo Vendruscolo
- 47
- 1
- 1
- 10
0
votes
1 answer
linux kernel when is file descriptor not accessible by pread?
so I am reading some kernel code and notice this:
http://lxr.free-electrons.com/source/include/linux/fs.h?v=2.6.32#L63
in line 69, we have:
/* file can be accessed using pread */
#define FMODE_PREAD ((__force fmode_t)8)
I am…

Erben Mo
- 3,528
- 3
- 19
- 32
0
votes
1 answer
FUSE: Multiple opens on the same file
Does the OS/VFS/FUSE-layer manage the semantics of multiple handles to the same file, or is that something that the driver has to arbitrate?

Dustin Oprea
- 9,673
- 13
- 65
- 105