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

FUSE - avoid calculating size in GetAttr

I'm implementing a FUSE file system for a remote service. When the user opens a file I do a network call to get the file's contents. It appears that the file's size must be reported through GetAttr in order for open to work. In order to know the…
itaysk
  • 5,852
  • 2
  • 33
  • 40
9
votes
2 answers

Why does FUSE seem to be locking up all threads?

I took fuse hello.c and modified the bottom to show what I am talking about. In my app I need to do things after my fuse FS is available. I also need another thread for IPC and keeping certain things up to date. Because fuse_main doesn't appear to…
user34537
9
votes
3 answers

which fuse version in my kernel?

I want to know which fuse version do I have, when attempting to execute: locate -i -r /fuse I…
TheForbidden
  • 1,533
  • 4
  • 22
  • 30
8
votes
5 answers

How to interpret structure without definition?

Today I started working on FUSE opensource code, there i found few lines like this: struct fuse_session; struct fuse_chan; I don't know how to interpret it , as far as i knew 'struct' is followed by structure name and then the name of variable.…
noob_coder
  • 83
  • 1
  • 4
8
votes
2 answers

How to use GCP bucket data on windows file system

I want to access GCP bucket data on windows 10 as file system. GCP provide FUSE for mac and Linux, Is there any way to mount GCP bucket with Windows.
user3770669
8
votes
3 answers

Cannot remove .git: Directory not empty

Unable to remove .git I have a git repository, Rift, that I am trying to remove. On attempting to run rm -rf, I get the error: rm: cannot remove 'Rift/.git/objects/pack': Directory not empty. When I navigate to the bottom of the directory tree, I…
Vendetta
  • 2,078
  • 3
  • 13
  • 31
8
votes
2 answers

Using Fuse-Low Level API

I am trying to implement a basic file system using Fuse Low level API. for basic read/write/mknod operations. Will be grateful if any one can point to some examples, there is no documentation on fuse low level api. Any help will be much appreciated!
user658648
  • 139
  • 1
  • 4
8
votes
0 answers

Anyone using "Google Cloud Storage Fuse" in production?

How has the it's performance and stability been for you? I'm looking to maybe implement this on a cluster to avoid a network or clustered file system and it should fit well with auto scaling the cluster of servers. But what are the con's involved in…
8
votes
1 answer

gcsfuse gives a Input/output error when reading or writing to mounted directory in docker

I am using gcsfuse within a docker container (base image centos7) and am not able to read or write to the mounted directory. I am mounting the directory with gcsfuse like this: [root@6c24c3a6cc28 /]# gcsfuse --foreground…
Marshall
  • 413
  • 1
  • 5
  • 10
8
votes
2 answers

Finding corresponding encrypted file on encfs

Hopefully a very simple question. I have a read-only mount, and a encfs FUSE mount reads over that to decrypt the files. How do I know which encrypted file each decrypted file relates to? For example: I want to delete a file, however won't be able…
Marcus Hughes
  • 5,123
  • 1
  • 25
  • 39
8
votes
3 answers

How can I mount an S3 volume with proper permissions using FUSE

I have an Amazon S3 bucket (let's call it static.example.com) that I need to mount on an EC2 instance (Ubuntu 12.04.2). I've installed s3fs. I'm able to mount the volume, but I can't write to the bucket. I have tried: sudo s3fs static.example.com -o…
Ben Harold
  • 6,242
  • 6
  • 47
  • 71
7
votes
1 answer

emacs gives warning when trying to save files over sshfs

I mount an sshfs file system with % sshfs remote.host.org:/home/jrm /home/mnt/remote.host then edit a file under this file system with % emacsclient -n /home/mnt/remote.host/some_file.c. When I save the file I get the warning some_file.c has…
jrm
  • 727
  • 5
  • 18
7
votes
2 answers

Possible to run multiple main loops?

I'm working with both libfuse and the glib event interface and I've run into an issue where I need to run multiple main loops concurrently (glib's g_main_loop_run and fuse_loop_mt). I've already attempted to created a detached thread for glib's…
ben lemasurier
  • 2,582
  • 4
  • 22
  • 37
7
votes
3 answers

macFUSE giving mount_macfuse: mount point ... is itself on a macFUSE volume - Apple M1 macOS 12.3

This issue is driving me crazy. I keep getting an error: "macFUSE giving mount_macfuse: mount point ... is itself on a macFUSE volume " where ... is my mount point when i run sshfs --version i clearly dont have the correct FUSE version coming up,…
7
votes
2 answers

docker volume over fuse : Transport endpoint is not connected

So I have this remote folder /mnt/shared mounted with fuse. It is mostly available, except there shall be some disconnections from time to time. The actual mounted folder /mnt/shared becomes available again when the re-connection happens. The issue…
Augustin Riedinger
  • 20,909
  • 29
  • 133
  • 206
1 2
3
44 45