Questions tagged [fuse]

Fuse stands for Filesystem in Userspace. It can be used to create filesystem backends without writing all the code as a kernel module.

FUSE is a library and a kernel module which allows creating filesystems using only userspace code. It has an API in C and many existing wrappers in other languages. Originally written for Linux >= 2.4 and located behind the VFS layer, now it is usable on many other systems. Since Linux 2.6.14 it's included in the mainline kernel.

Questions about using FUSE API, fuse tools and debugging filesystems using FUSE should be have this tag.

For the latest API, refer to the documentation.

671 questions
0
votes
1 answer

How to read encrypted files (encfs)

lately, I installed encfs for encryption. and I encrypted files. as far as I know, there are two directories. first directory is encrypted files stored and second directory is unencrypted files stored (It's original files). I think the purpose of…
0
votes
1 answer

FUSE- logging file opened time - File System

With FUSE API, is it possible to know that for how much time a file is opened. If yes, then which methods to implement.
0
votes
1 answer

Fuse Example File System - The file changed on disk do you want to reload the file

Running built-in fuse HelloFS example file system, shows a hello.txt file on root. Opening this file show an error as "...The file changed on disk do you want to reload the file. Reload/cancel" How can I remove this error. I am facing the same…
0
votes
2 answers

Possible Architecture Error

After upgrading to Linux Kernel version 3.8.8, I noticed the FUSE module was not installed correctly. So I downloaded this fuse package(fuse-2.9.3), extracted it in the Downloads directory, configured it at the command line, then used the make…
Phat_Albert
  • 119
  • 2
  • 13
0
votes
1 answer

log file system- Fuse

I am writing log file system via fuse (FUSE-JNA). What I want to do is log/insert current time in database table when user opens a file and insert current time in database table when user closes a file it is Just like web server logs. For this, I…
0
votes
1 answer

Fstab mount error "mount: unknown filesystem type 'gid=33'

I am trying to use fuse and sshfs to mount a drive. The command I use to do this is sudo sshfs computer2@24.97.20.3:/Volumes/1TB\ Extra/MoodleMount /mnt/CampusServer -o allow_other,uid=33,gid=33 It mounts fine every time. No password needed…
nwestfall
  • 219
  • 2
  • 5
  • 13
0
votes
1 answer

Implementing rename in fuse file system

I'm trying to implement an in-memory file system using fuse. The rename function accepts 'from' and 'to' parameters. When I tried doing this on bash, mv file1 file2, it internally calls rename function (I used the -d option to check it). When i try…
Torpedo
  • 171
  • 1
  • 3
  • 10
0
votes
0 answers

Symbolic links to appear as regular files in FUSE

Is there a way to implement a file on a FUSE filesystem such that to the kernel lookup procedure it appears as a symbolic link, but if a user program stats the file, it appears as a regular file? The point is to redirect particular calls to another…
Juho Östman
  • 1,544
  • 1
  • 12
  • 20
0
votes
1 answer

Running Nginx with a database-backed config file

I know there exists a plugin for nginx to load the config through perl. I was wondering, does anyone have any experience doing this without using a plugin? Possibly a fuse-backed Python script that queries a DB? I would really like to not use the…
Ryan O'Donnell
  • 617
  • 6
  • 14
0
votes
1 answer

mhddfs not support file split.. if file size exceed limit of single storage device

I'm using mhddfs to combine multiple drives that are mounted over network using NFS. e.g. There are three machines Server Name Dir Space Server 1 /home 10 GB Space Server 2 /home 10 GB Space Server 3 /home 10 GB Space Using NFS…
Imran
  • 5,376
  • 2
  • 26
  • 45
0
votes
1 answer

How does setxattr in memory.py change anything?

I'm using memory.py from fusepy (http://code.google.com/p/fusepy/source/browse/trunk/memory.py) for a programming assignment. How does setxattr (line 87) actually accomplish anything? self.files isn't modified in any way and attrs is destroyed when…
0
votes
2 answers

creating a new filesystem call for FUSE filesystem

We are implementing a Filesystem using Python Fuse Library. We have implemented "Snapshot" feature (api) for this file system. We want to now call this snapshotting api, via a system call like (ls,mkdir,etc) - Snapshot? How do we create this new…
flowerpot
  • 519
  • 2
  • 7
  • 18
0
votes
1 answer

how to configure CKDIV8 fuse on AVR programming

I use atmega168a and configure fuse on Tools > device programming > AVR dragon > fuses > (click on) CKDIV8 to set it to 8 MHz internal clock. what piece of code do I need to add to my C code to be able to set that fuse?
Johan Elmander
  • 497
  • 2
  • 6
  • 11
0
votes
2 answers

How can I use Fuse on Dracut initramfs?

I want to use Fuse in initramfs. I am using the Fedora OS, and the Fedora OS initramfs is Dracut. I have created a sample application with Fuse to mount a folder with application. I want to use Fuse on Dracut, but the Fuse application does not work…
Taleh Ibrahimli
  • 750
  • 4
  • 13
  • 29
0
votes
1 answer

rename of fuse-jna isn't working

i want to run the memoryfs example in the fuse-jna, but when i call rename it says no such file and i can't rename a file. i have found a bug in rename public int rename(final String path, final String newName) { final MemoryPath p =…
richard
  • 742
  • 2
  • 9
  • 21