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
9
votes
2 answers

Apache Commons VFS thread safety and resource management

I'm looking into using Apache Commons VFS for a project that will need to transfer files between local server and remote servers via ftp, sftp and https. The standard usage examples are getting the FileSystemManager from a static…
Jimmy Praet
  • 2,230
  • 1
  • 15
  • 14
9
votes
5 answers

linux: running self compiled kernel in qemu: VFS: Unable to mount root fs on unknown wn-block(0,0)

I try to get this running and don't know what I'm doing wrong. I have created an Debian.img (disk in raw format with virtual device manager - gui to libvirt I guess) and installed debian with no troubles. Now I want to get this running with a self…
Konstantin
  • 331
  • 1
  • 3
  • 8
8
votes
1 answer

Reading an on-disk inode to in-memory

I believe there are two types of inodes - on-disk and in-core inode ('struct inode' in fs.h). An on-disk inode is based on filesystem implementation. I am trying to understand the underlying concept and have a few questions - Can someone point me…
One
  • 153
  • 1
  • 1
  • 5
7
votes
3 answers

File upload to SFTP fails (Apache VFS)

I have a problem with a SFTP (Windows with WinSSHD). I try to write a file in a folder with Apache Commons VFS. On a local SFTP I have no problem with the upload but on a second SFTP I always get the error below. The FTP looks like this: I need to…
Darkpara
  • 304
  • 1
  • 2
  • 14
6
votes
1 answer

Coredata VFS flags - strange log

Since my latest update of Xcode, I get repeatedly the following log in my Coredata based app: [logging] flag(s) 0x00000020 are reserved for VFS use and do not affect behaviour when passed to sqlite3_open_v2 Is this simply log noise or is it in…
Reinhard Männer
  • 14,022
  • 5
  • 54
  • 116
6
votes
7 answers

Previewing rails server on AWS Cloud 9: VFS Connection does not exist [Firefox only]

Update: This is specific to Firefox. This does not occur using Chrome. I will leave the text below as is, but now the main question is, how and what in Firefox is causing this. It occurs regardless of cookie settings, such as allowing third-party…
6
votes
1 answer

VFS2 Error cannot delete file and could not get the groups id of the current user (error code: -1)

I'm using VFS2 to take and import files into the folders by SFTP protocol. But I'm obtaining an Error. Picture below my code: Into the log for all files I'm watching this error: The error sequence is: 1) cannot delete file 2) Could not determine…
Stefano
  • 1,439
  • 4
  • 23
  • 38
6
votes
1 answer

Is there any Qt SQLite plugin for storing database in RAM by VFS (for loading database from Qt resource file)?

I have some :/test.sqlite3 database inside .qrc. And the goal is to directly use this database in program. Database used only for reading. QSqlDatabase::setDatabase(":/test.sqlite3") not works, because Qt SQLite not designed for working with Qt's…
Rinat
  • 1,941
  • 2
  • 17
  • 26
6
votes
1 answer

How does the Commons VFS Cache works?

I'm trying to learn how to use Apache Commons VFS2. I've read all the docu I could find and I'm already kind of familiar with the API but still there is one thing that isn't perfectly clear to me. How does the Cache mechanism work? In particular: I…
mdzh
  • 1,030
  • 2
  • 17
  • 34
6
votes
3 answers

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…
user108127
  • 486
  • 1
  • 5
  • 14
6
votes
4 answers

Pre-allocating drive space for file storage

Is there a Java way to pre-allocate drive space for exclusive usage in the application? There is no requirement for this space to be a separate filesystem or a part of existing filesystem (so could easily be a database), but it should allow for…
Tosha
  • 998
  • 1
  • 10
  • 22
6
votes
1 answer

Is java.io.FileDescriptor#sync() specific to a single FileDescriptor

I am looking to force synchronisation to disk after files are written at certain points in my application. Since it runs on Linux, I could get away with just running Runtime.getRuntime().exec("sync"); However, I would rather not introduce Linux…
Sevas
  • 4,215
  • 3
  • 27
  • 26
6
votes
2 answers

How to use Linux hugetlbfs for shared memory maps of files?

I have a program which uses mmap() and shared memory to efficiently access a large database file. I would like to experiment with huge pages to see if it speeds things up. I thought that a quick and easy way would be to copy the database file into…
Zan Lynx
  • 53,022
  • 10
  • 79
  • 131
6
votes
1 answer

Is it possible to mount a remote storage to local file system of iOS?

Is it possible to implement a VFS driver on iOS, which can mount a remote storage like dropbox to local file system? I don't think it is allowed for a normal iOS devices, but how about jailbreak devices?
Wallace
  • 61
  • 1
  • 3
5
votes
2 answers

Alternative for Virtual file system (VFS) kernel extension on macOS M1

we have developed a kernel extension (KEXT) for a virtual file system (VFS) on macOS to integrate our software with external programs like Adobe InDesign or Microsoft Word. Our software and the KEXT are used by many of our customers. As it looks…
1
2
3
21 22