Questions tagged [vfs]

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.

321 questions
0
votes
1 answer

Are the memory pages belonging to an opened file managed as a vm_area_struct?

Since I only have the first edition of the book: Understanding the Linux Kernel, I have read some of the source code of Linux 2.2.14, which is very old. From the source code, I think, that the memory pages belonging to the files opened by a process…
hebothu
  • 269
  • 1
  • 9
0
votes
1 answer

Get file data buffer from Vnode BSD OSx

I'd like to to extract the file buffer data from a Vnode object. I'm using BSD for MAC, and the link to the Vnode documention can be found here: https://opensource.apple.com/source/xnu/xnu-1456.1.26/bsd/sys/vnode.h Also, creating a read operation…
IdoT
  • 2,831
  • 1
  • 24
  • 35
0
votes
1 answer

Check if Stackable file system mounted or not programmatically

I am providing the path of any file in a directory on which a stackable file system is being mounted. Is there any way to programmatically check whether the mounted file system is the stackable file system or my underlying lower file system? I have…
Raunaq Kochar
  • 1,024
  • 3
  • 15
  • 24
0
votes
1 answer

How can I track when memcpy() is called in Linux Kernel?

I am trying to track some dirty page in page cache in Android 5.1.1 with Kernel 3.4. My device is Nexus 7 2013 with processor Qualcomm Snapdragon S4 Pro APQ8064. I know a process can (1)write to page cache from its buffer or (2)it can use Mmap to…
Hao Wang
  • 11
  • 3
0
votes
1 answer

Practical / Applied application security

Alright so here is my issue. I'm working a game engine that will eventually be multilayer. this engine allows games to be written in either a .Net language or Lua (the built in scripting engine). For security however I'd would like to prevent people…
edude05
  • 744
  • 1
  • 10
  • 23
0
votes
0 answers

GlusterFS Client doesn't cache the dentries/inodes?

I have installed GlusterFS in node A,B,C. The node A and B were GlusterFS servers (brick1-4), meanwhile, they were GlusterFS clients for creating files. And the node C didn't exist bricks, it was just a GlusterFS client to mount by mount -t…
user6481589
  • 71
  • 2
  • 6
0
votes
0 answers

The VFS cache over fuse filesystem (glusterfs mounted by fuse)

VFS cache didn't work on FUSE?In the GlusterFS client,I mounted the GlusterFS volume to local /mnt/glusterfs by fuse.But when I excuted "time ls /mnt/glusterfs",the dentry was cached in remote nodes rather than the MOUNT node.And I read a file which…
user6481589
  • 71
  • 2
  • 6
0
votes
1 answer

Where is struct vop_vector declared?

I'm trying to understand the VFS of FreeBSD 10.3. One of its central structures is the struct vop_vector which contains function pointers to the implementations of the abstract file system operations. I expected it to be declared in…
fuz
  • 88,405
  • 25
  • 200
  • 352
0
votes
1 answer

(PHPUnit) Is it possible to test mkdir, tempnam, realpath and move_uploaded_file?

I'm making a test for a File System and I wanted to know if is possible to test if some functions are functional. I'm using vfsStream for the most of them, but this virtual file system doesn't work with some functionality of the File System. I…
B. Pereira
  • 75
  • 1
  • 13
0
votes
1 answer

Proxy doesn't work when running WSO2 as a Windows Service

I have a proxy which implements a VFS Transport. If I run carbon_home/wso2services.bat the proxy works. If I start wso2 as a windows service it doesn't but I am still able to access the Management Console. VFS seems not working. The file is not…
Victor Viola
  • 575
  • 1
  • 4
  • 14
0
votes
0 answers

Reading files from sub directories of SFTP using VFS transport in WSO2

We have a scenario in which we need to process all the files in current folder and all the sub folders in it. The sub folders name is dynamic. Is this possible to achieve using vfs in wso2?
0
votes
1 answer

Unable to download file using Groovy VFS library within Gradle

I'm trying to download a file using http within a gradle script using the Groovy-vfs library but am getting an error. This is the gradle script: plugins { id "org.ysb33r.vfs" version "1.0-beta6" } import org.ysb33r.groovy.dsl.vfs.VFS apply…
Gruntcakes
  • 37,738
  • 44
  • 184
  • 378
0
votes
1 answer

Process existing files on startup in a folder with VFS2

I have multiple FileListeners that process all the files which are inserted in remote folders using the org.apache.commons.vfs2 library. Sometimes I have to stop Tomcat, so if new files are inserted in the folders, they will not be processed…
JMI
  • 1
  • 1
0
votes
1 answer

.NET Windows API Check if folder accessed

I am searching for a function that allows me to put a dialog-window(w/ a password query) before the folder is accessed. Is there such a function? Also, this would be great if this protection is there before any program, even Windows Explorer/cmd.exe…
Felipe
  • 80
  • 7
0
votes
2 answers

wso2esb failover configuration throws error

this is my proxy configuration
Nariman
  • 110
  • 1
  • 10