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

libCurl SSL error after fork()

I'm developing a FUSE driver and when I run it as a daemon (without the -f or -d flags) all https request made through libcurl fail. I was able to reproduce the error by making an https request, forking and returning the parent process, and then…
br1ckd
  • 556
  • 3
  • 15
5
votes
0 answers

How to profile fusepy operations

I am writing a FUSE file system using the fusepy ctypes library (https://github.com/terencehonles/fusepy) for Python. Is there a way to profile the fuse operations? When I try to run the instantiation of FUSE with cProfile, I get unusable output: …
darkfeline
  • 9,404
  • 5
  • 31
  • 32
5
votes
1 answer

Xilinx Simulation Error Fuse:500

I'm trying to simulate my VHDL code using Xilinx ISim. When I try to generate the testbench for the simulation, the simulator throws up the following error: FATAL_ERROR:Simulator:Fuse.cpp:500:1.133 - Failed to compile generated C file isim/ I tried…
JanFo
  • 150
  • 2
  • 9
5
votes
2 answers

fuse4x sshfs on macosx execution error

I'm using sshfs on macosx 10.7 in my every day job. To install sshfs I have used macport: "port install fuse4x sshfs". The todays error: $ sshfs user@domain.com:/path myfolder fuse4x client library version is incompatible with the kernel extension…
toutpt
  • 5,145
  • 5
  • 38
  • 45
5
votes
2 answers

Mount a remote file system using SSHFS

Ok, the setup is a bit convoluted. Don't blame me, I'm not the sysadmin. Here's the situation. There is one machine that I can SSH into from outside the network. I can only remote in as root (yes, you heard right) using my private key. I know that…
Jonathan Hawkes
  • 953
  • 2
  • 12
  • 24
5
votes
2 answers

Any chance javafuse can work?

I would like to build a FUSE-based underland filesystem application, in Java. There are a few bindings library available on the web, Fuse-J, jnetfs, Fuseforjava, javafuse. None of them seem really alive as of today, so I gave my first try to…
Kevin
  • 4,618
  • 3
  • 38
  • 61
5
votes
2 answers

Mount loop device with FUSE

So let's say I have a file attached to a loop device /dev/loop1 how could I mount that using fuse (filesystem in user space) ?
AlexandruC
  • 3,527
  • 6
  • 51
  • 80
5
votes
2 answers

Google Drive with FUSE

Would be possible to use Google Drive with FUSE for to build filesystem in unix systems?
Ismael Vacco
  • 1,010
  • 1
  • 10
  • 24
4
votes
4 answers

pkg-config --exists fuse fails

I am trying to install fuse-python package, when I run python setup.py build It fails, when I checked the contents of setup.py I found this line if os.system('pkg-config --exists fuse 2> /dev/null') == 0 this line fails. Also when I check…
hue
  • 1,759
  • 3
  • 27
  • 37
4
votes
0 answers

Share a FUSE mount between containers in docker compose without persisting anything on host

It's quite straightforward how to share a volume between containers when they share the FS, however it gets more complicated when one endpoint targets a directory that not only has a different FS but also this FS changes after the container runs,…
Mike
  • 842
  • 1
  • 9
  • 31
4
votes
3 answers

Move object from one array to another

i have one object that one of the properties is an array of objects, the idea is to move objects from that array to no new one if one condition is true. public $onInit(): void { this.getTicket(); } public ticket: any; // Object with the…
Miguel Frias
  • 2,544
  • 8
  • 32
  • 53
4
votes
1 answer

Understanding and trying to apply git patch for fuse filesystem

I have a fuse-based file system, in order to improve it I need to implement this approach https://lwn.net/Articles/674286/ I understand that i should git apply < patch >, the problem is that i don't understand exactly where this patch should be…
userfault
  • 199
  • 1
  • 10
4
votes
1 answer

What API will allow me to implement a linux filesystem which is aware of which process is accessing it?

I would like to implement a linux filesystem, either with FUSE or as a kernel module, which is aware of the process which is looking at it so that it can tailor the contents of the filesystem to the accessing process. A concrete example of this kind…
Casey Rodarmor
  • 14,878
  • 5
  • 30
  • 33
4
votes
3 answers

FUSE (Filesystem in Userspace) with Qt Programming

I'm trying to use FUSE with Qt, but fuse_main() and app.exec() has their own event loop. This mean that if I start one the other will not start, since the first that starts prevents the other to start as shown below. How to deal with this? For more…
4
votes
2 answers

Working with block special files/devices to implement a filesystem

I've implemented a basic filesystem using FUSE, with all foreseeable POSIX functionality implemented [naturally I haven't even profiled yet ;)]. Currently I'm able to run the filesystem on a regular file (st_mode & S_IFREG), but the next step in…
Matt Joiner
  • 112,946
  • 110
  • 377
  • 526