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

FUSE open system call mechanism

When calling to the open system call from a program, to create an empty file (with O_WRONLY | O_CREAT | O_TRUNC) in a FUSE managed directory, the following functions from my FUSE file system implementation are executed: getattr (returns error…
Bilk
  • 418
  • 6
  • 19
4
votes
4 answers

S3FS - Recursive CHOWN/CHMOD takes a LONG time

Any recursive chown or chmod command on an s3fs mount takes a long time when you have a few directories (about 70) each with quite a few files. Either of these commands are likely to take almost 24 hours. I have to do this or the Apache process…
Jafo
  • 1,200
  • 2
  • 11
  • 22
4
votes
2 answers

FUSE (Filesystem in Userspace) support on Android

I'm trying an app that require to enable a cloud based file system to my device. For this I've to have FUSE support in my Android device . I'm using Android version 4.4.2 on a Asus tablet. However I searched a lot but couldn't find some satisfactory…
sandy
  • 283
  • 1
  • 7
  • 27
4
votes
2 answers

Not able to mount HDFS using Hadoop-Fuse

I have a 2 node Hadoop cluster running on AWS EC2. I am trying to mount the HDFS on a different EC2 instance. The client is running Ubuntu 12.04.4 LTS and I have installed Hadoop-Fuse. # apt-cache policy hadoop-0.20-fuse hadoop-0.20-fuse: Installed:…
4
votes
1 answer

Fuse functions not found on compile

I am working on a very simple file system for learning purposes, which uses fuse. However, I cannot compile it: $ gcc -Wall `pkg-config fuse --cflags --libs` myfs.c -o myfs /tmp/cc6xhGKO.o: In function `main': myfs.c:(.text+0x1602): undefined…
joni
  • 5,402
  • 1
  • 27
  • 40
4
votes
1 answer

Trouble compiling FUSE filesystems on OS X

OS: OS X Mavericks (v10.9) FUSE: OSXFUSE v2.6.2 I'm trying to compile the loopback filesystem in C, but I'm getting this error: $ make cc -D_FILE_OFFSET_BITS=64 -I/usr/local/include/osxfuse/fuse -Wall -g -F/Library/Frameworks -o loopback loopback.c…
Jonukas
  • 706
  • 5
  • 18
4
votes
1 answer

pip install fuse-python: pkg-config unavailable, build terminated

I am trying to install python bindings for osx fuse with pip on osx 10.8.5. I am running python 2.7.2. I am running fuse 2.6.1. When I run the pip install command I get this error. I do not know how to debug it. akh$ pip install…
bernie2436
  • 22,841
  • 49
  • 151
  • 244
4
votes
1 answer

HOWTO compile encfs4win on windows

I am trying to compile the encfs port for windows (also see the git project). To be more precise, I have tried to compile it with MSYS, with Cygwin and with MSVC 2010. I had no success with either of these, each suffering from completely different…
Jesko Hüttenhain
  • 1,278
  • 10
  • 28
4
votes
1 answer

Ideas for implementing a VFS

I have multimedia files and its metadata stored in a RDBMS (actually, the actual media files are stored in the FS, but let's not dwell on that). I would like to present a filesystem view of this information, so that users can work using Windows…
alex
  • 5,213
  • 1
  • 24
  • 33
4
votes
3 answers

Fuse bindings for php

I am writing an application that thus far has been written in PHP, from the interface to the daemons. I have a need to use fuse and would like to continue to use PHP just for consistency. However, there doesn't seem to be bindings for PHP. Python,…
user9419
  • 41
  • 2
  • 2
4
votes
1 answer

Hadoop HDFS - Cannot give +x permission to files

So, I used Cloudera's installation and management tool to get a 3 node cluster of servers up and running. I have HDFS running and can see / create directories etc. I went ahead and installed the Fuse plugin which allows me to mount the HDFS as a…
Quinton Pike
  • 3,823
  • 8
  • 31
  • 37
4
votes
3 answers

How to mount a Amazon S3 bucket by using FUSE - S3FS

This is driving me up the wall. I am still a little new to Linux but i do understand how to do most of day to day stuff I need to do. What I am trying to do is mount a Amazon S3 bucket to a mount point on my server. I running Ubuntu server 12.04, it…
Glenn Curtis
  • 659
  • 1
  • 15
  • 32
4
votes
1 answer

opendir() in FUSE

In the implemention of xxx_readdir() in FUSE, I use the codes below: static int hello_readdir(const char *path, void *buf, fuse_fill_dir_t filler, off_t offset, struct fuse_file_info *fi) { DIR *dp; struct dirent…
injoy
  • 3,993
  • 10
  • 40
  • 69
4
votes
0 answers

How can I mount a partition in the middle of a full disk image in userspace?

It is perfectly possible to mount a partition with a disk image using mount or losetup's "offset" parameter. However to mount an image in userspace without requiring root permission or setting up fstab etc, fuseiso is needed (I…
Catskul
  • 17,916
  • 15
  • 84
  • 113
3
votes
1 answer

Why does nautilus read directories in advance?

I'm creating a tool base on FUSE that populates a directory (~/sites) with fuse filesystems. When you read a subdir (for example ~/sites/stackoverflow.com) a sftp/ftp/webdav/s3 connection is made to that host. This works beautifully with most tools…
Leon
  • 841
  • 3
  • 10
  • 21