vfs

caching a tar inside jvm for faster file I/O?

Hi, I'm working on a java web application that uses thousands of small files to build artifacts in response to requests. I think our system could see performance improvements if we could map these files into memory rather than run all over the disk to find them all the time. I have heard of mmap in linux, and my basic understanding of...

Practical / Applied application security

Hello Everyone, 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 from viewing these files and of course prevent them from editing them. M...

How to check if FileObject is folder?

I'm using Apache Commons VFS (Virtual File System) to access some files over SFTP. Does anybody know how to check if an instance of org.apache.commons.vfs.FileContent is folder? ...

Is there a way in Powershell to provide virtual file systems in other file systems?

I know you can write support for custom PSDrives. But those are always a root of a file system. What would be nice if there was a way to allow for VFS start at arbitrary nodes of the file system, such as using Set-Location to enter archive file maybe and use them as if they were folders. (Kinda like Far does this). Is there any way to a...

Commons VFS Equivalent for .Net

As above, does any one know of a decent equivalent for Jakarta Commons VFS for .Net ? ...

Trying to set up Amazon S3 filesystem in Apache Commons VFS in java

I'm trying to use VFS S3 a plugin for the Apache Commons VFS for Amazon S3. I've included the jar and it's recognising the s3 schema. However when I try to open a file (which is public, I can open it on my web browser), I get this error: Could not create a file system manager of class "org.apache.commons.vfs.impl.StandardFileSystemMan...

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 creation script can be retrieved or at least generated using this name. But it isn't th...

Difference between statvfs() and statfs() system calls?

Why do the statfs() and statvfs() calls both exist when they're so similar? Under what circumstances would I prefer one over the other? ...

Ideas for implementing a VFS

Hi all, 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 Explorer and similar stuff on the database. I intend this access to be read-only, wh...

Implementing symlinks in a virtual file system

I'm working on a virtual file system which isn't disk based, kind of like /proc. Now I want to create a symlink within it to a target on a ext3 file system. I haven't found any standard documentation on ways to achieve this. What I've guessed so far is that I have to write a function to put in for symlink in struct inode_operations. But ...

ColdFusion 9 Virtual File System and Clustering

Does the VFS work in a cluster scenario? ...

Commons VFS and IBM MVS System

Hello All, I'm using Apache Commons VFS / SFTP, we are trying to download files from the IBM MVS system. The download part is all good, however, we can not open up the zipped files after downloading. Seems like the zip file was compressed using a different algorithm or something Anyone has any pointers? *Note, the same function wo...

What is a Virtual file system or a file system in userspace?

I just came across a VFS and a filesystem in userspace like FUSE. Now, as far as I understand, it simulates a file system, so that an application can have a standard file system hierarchy. But I don't understand, why do we need a separate file system for that? Can't we just create a regular folder structure and place files which will be...

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 file " + fileToMonitor + "..."); FileObject fo = fileSystemManager.resolveFile(fileToMoni...

SQLite VFS implementation guild lines with FOpen*

Hello I am about to implement a custom VFS (virtual file system) for a Netburner embedded device (non windows) using FOpen, FRead, FWrite, FSeek, and FClose. I was surprised that i could not find a FOpen* version of the VFS available. It would make it a lot more portable to embedded devices. I found some information on creating the V...