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
3
votes
1 answer

How to mount a FUSE-based filesystem on docker container running on AWS?

I need to mount a FUSE-based filesystem (using rclone) on a docker container that must be executed on AWS ECS Fargate. I have no problem running the container locally using the following command: docker run --rm --device /dev/fuse --cap-add…
3
votes
1 answer

creating a temporary file in python with FUSE

I am trying to write a program using python-fuse, but I can't get file writing down. my file_class looks like this class FuseFile(object): def __init__(self, path, flags, *mode): debug(path) #debug(mode); self.file =…
Nick Beeuwsaert
  • 1,598
  • 1
  • 11
  • 18
3
votes
1 answer

Fuse-Python: Unable to run example

I'm tinkering around with the fuse-python bindings and I can't seem to grasp how to run the example xmp.py from the library package (xmp.py is located here). Looking at a lecture slide from MIT (located here), on slide 33, it shows the command line…
Chris Allen
  • 653
  • 4
  • 9
  • 17
3
votes
1 answer

Using rclone mount in Heroku?

I tried to use rclone mount in Heroku dyno, but it doesn't seem to work because there is no fusermount. And I found this, a fuse buildpack for heroku, and it doesn't work too. I went into dyno's bash by heroku run bash, and entered these commands #…
3142 maple
  • 865
  • 2
  • 11
  • 27
3
votes
2 answers

fuse action on umount

I've written some simple filesystems with Python-fuse, but now I'm wanting to do something that I can't find in the pydoc nor in the sample scripts I've found: when the filesystem is unmounted with fusermount -u, I want to trap that action, perform…
jcomeau_ictx
  • 37,688
  • 6
  • 92
  • 107
3
votes
1 answer

Named pipe in form of a directory using FUSE

I would like to create a FUSE file system which accepts any kind of write operation to any path inside the file system. Kind of like a named pipe, but in form of a directory. echo test > bar # consumes "test" echo test > bar/foo #…
watain
  • 4,838
  • 4
  • 34
  • 35
3
votes
1 answer

Make seems to ignore my CFLAGS and LDFLAGS

I am having trouble cross-compiling fuse-exfat. GCC can not find my fuse library. I am running the build on a x64-64 machine and compiling for ARM. As you can see here, both the include files and the library is…
Daniele Testa
  • 1,538
  • 3
  • 16
  • 34
3
votes
1 answer

How to issue multithreaded/non-blocking readdir in FUSE

Right now, the readdir() in FUSE is a blocking method, which means that at anytime there is only one readdir() operation can be invoked. My file system may need support heavy simultaneously directory operations. Any suggestions? Thanks
eddyxu
  • 638
  • 6
  • 19
3
votes
1 answer

homebrew-fuse git repository is deprecated brew update falied

OS: 10.14.2 brew list ant gdbm imagemagick libtool pango telnet apr gdk-pixbuf isl libunistring pcre testdisk apr-util gettext jansson libxml2 …
joe
  • 8,383
  • 13
  • 61
  • 109
3
votes
1 answer

Where is @cupy.fuse cupy python decorator documented?

I've seen some demos of @cupy.fuse which is nothing short of a miracle for GPU programming using Numpy syntax. The major problem with cupy is that each operation like adding is a full kernel launch, then kernel free. SO a series of adds and…
3
votes
2 answers

SSHFS mounting remote ssh server causes Segmentation fault: 11 on mac OS

I'm trying to follow this tutorial mounting a SSH server on macOS. I installed with brew install cask osxfuse and SSHFS with brew install sshfs but when I try to mount the remote folder to a local folder with sshfs foo@bar:/remote/folder…
Foad S. Farimani
  • 12,396
  • 15
  • 78
  • 193
3
votes
1 answer

profiling fuse-python

I am currently writing a fuse using fuse-python. It's already doing what it should. However, after it's mounted for a few weeks, it's becoming noticeably slow. So I wanted to profile it. I know about a few point where it could be optimized. But…
exhuma
  • 20,071
  • 12
  • 90
  • 123
3
votes
0 answers

How Dropbox sync works

I'm asking this question out of curiosity. When I copy 1 GB file into Dropbox server, it automatically updates in my local machine Dropbox folder but in file property it shows size as 1 GB and size on disk as 0, once I double click on the file it…
Krish
  • 376
  • 3
  • 14
3
votes
1 answer

Thread killed when application is backgrounded?

I'm developing a fuse filesystem and before calling fuse_main_real() I'm starting a std::thread in a class instance to do some background work. this->t_receive = new std::thread([this] { this->receive(); }); However, it seems like fuse_main_real()…
Cobra_Fast
  • 15,671
  • 8
  • 57
  • 102
3
votes
2 answers

Is it possible to have a Linux VFS cache with a FUSE filesystem?

It seems that the Linux VFS cache does not work by default with a FUSE filesystem. For example, the "read" call seems to be systematically forwarded to the FUSE filesystem. I work on a FUSE specific remote filesystem. I need a very aggressive…
Fabien
  • 178
  • 1
  • 7