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
0 answers

Bad address exception when attempting to read a file under fuse-mounted directory

I'm attemting to read a file under my mounted directory (with FUSE). I use for that a Java Application that simply reads the content of a text file. This works under a normal file, but for a file under my mounted directory, it throws an exception as…
TheForbidden
  • 1,533
  • 4
  • 22
  • 30
0
votes
1 answer

FAT32: root directory entries

We are building a fat32 filesystem manipulation tool in C and are currently trying to access all the entries in the root directory (situated right after the two FAT tables). The first question is : Are all the root directory entries contiguous in…
Floran Gmehlin
  • 824
  • 1
  • 11
  • 34
0
votes
1 answer

remove a "bad address" error from the standard output on the linux terminal

when attempting to copy a file inside a mounted directory, I got this message printed on my terminal: cp: writing `file': Bad address However, the copying operation is successfully executed, but I just want to delete this message (for a…
TheForbidden
  • 1,533
  • 4
  • 22
  • 30
0
votes
1 answer

What does struct { .attr = value } syntax mean?

From fuse/examples/fsel.c static struct fuse_operations fsel_oper = { .getattr = fsel_getattr, .readdir = fsel_readdir, .open = fsel_open, .release = fsel_release, .read = fsel_read, .poll =…
Lacrymology
  • 2,269
  • 2
  • 20
  • 28
0
votes
1 answer

How to build javafuse on Ubuntu?

I'm trying to implement the JavaFuse project but when I execute the make command I'm getting this error: gcc -shared build/contextClass.o build/conninfoClass.o build/javafuse_jni.o build/statvfsClass.o build/fsClass.o build/utimebufClass.o…
Joshua Welz
  • 1,155
  • 2
  • 7
  • 4
0
votes
1 answer

Unknown error 524 with fuse

I tried to make an "ls -l" command on a mounted directory with fuse, but I get this error message: Unknown error 524 What does it mean?
TheForbidden
  • 1,533
  • 4
  • 22
  • 30
0
votes
1 answer

malloc'd memory overlaps object created by std::make_shared

A call to malloc is returning a pointer to a block of memory that overlaps memory already allocated by make_shared. I'm building a FUSE client, and the malloc call is in the FUSE library, but I'm not sure that's relevant. I wasn't able to reproduce…
br1ckd
  • 556
  • 3
  • 15
0
votes
1 answer

equivalent of ZipEntry in directory use context

What's the equivalent of a ZipEntry in a directory use context ? I'm trying to replace a code written for zipfiles to convert it into a code written for directories instead.
TheForbidden
  • 1,533
  • 4
  • 22
  • 30
0
votes
1 answer

Read a directory content instead of a zip file content

I have this code which enables me to read a zip file content, but I want instead to read a directory content instead of a zip file (the zip file must be seen as a directory). What should I do ? import java.util.HashMap; import java.util.Map; import…
TheForbidden
  • 1,533
  • 4
  • 22
  • 30
0
votes
3 answers

FUSE implementation with C and JAVA

I'm trying to make a fuse file system on top of an Mysql database, and use this from a windows client and this client request is passed on to Java Server on linux side over SAMBA!! I need to know how to setup this kind of…
Mahesh Nayak
  • 208
  • 4
  • 14
0
votes
2 answers

How to extract sms.db from non-jailbroken iphone on linux

Objective: Extract the sms.db sms text message database from an Iphone 4S. I have installed ifuse on ubuntu 12.04 and am able to browse certain folders. None seem to contain the 'sms.db' file. It is possible to extract the sms.db using freely…
Andreas F
  • 133
  • 1
  • 8
0
votes
1 answer

Understanding storage requirement for amazon s3 using fuse-s3fs

I got a question to understand the mount process of Amazon s3 service suing fuse-s3fs, when i mount amazon s3 service bucket, does it copies whole data to my local system or it will just act as view of amazon s3 bucket? The reason why i want to know…
Saqlain
  • 17,490
  • 4
  • 27
  • 33
0
votes
1 answer

can I use FUSE with Cython bindings

I know FUSE has bindings for C, C++, Python etc. Which effectively means that I can develop FUSE filesystems using those languages. I wish to use Cython, as it offers much faster speeds as compared to pure Python. That is stressed in a filesystem.…
coolharsh55
  • 1,179
  • 4
  • 12
  • 27
0
votes
1 answer

Why can't I set a time_t larger than 2^32?

I'm messing around with FUSE in C and I wanted to create a file that would appear to be created very far into the future. The custom stat() function I'm writing in FUSE writes to a struct stat* stbuf and I want to do something like stbuf->st_ctime =…
Tneuktippa
  • 1,645
  • 3
  • 15
  • 25
0
votes
1 answer

How do I create a redistributable RPM for Mono.Fuse?

First, I obviously tried to get a binary release of Mono.Fuse project, but the only available downloads were the source files. (And actually it seems that latest release has a syntax error in an override) So I tried to install it on a Linux box from…
usr-local-ΕΨΗΕΛΩΝ
  • 26,101
  • 30
  • 154
  • 305