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

Fuse File System Indicate Files Should NOT be Opened

I'm implementing a fuse file system for a remote Internet server. When I open my mountpoint in a file browser (like Caja or Nautilus), the file browser tries to generate thumbnails of the files. In order to do so, it needs to read the files. …
Jim
  • 2,111
  • 4
  • 25
  • 34
0
votes
1 answer

Is there a linux command (along the lines of cat or dd) that will allow me to specify the offset of the read syscall?

I am working on a homework assignment for an operating systems class, and we are implementing basic versions of certain file system operations using FUSE. The only operation that we are implementing that I couldn't test to a point I was happy with…
sly493
  • 88
  • 1
  • 8
0
votes
1 answer

Is there any way for NFS server to know when the file is completely transferred by client?

I am sending some files to a fuse-mounted file system through NFS and CIFS shares. The intention is, once the file is fully copied, we do some processing on the file, like checksum generation, archival, encryption etc. The issue in case of NFS i can…
RajSanpui
  • 11,556
  • 32
  • 79
  • 146
0
votes
3 answers

Jena- Writing onto owl file- Unexpected result result

I created a file system that stores metadata of files and folders in an owl file. For file system, I am using java binding of FUSE i.e. FUSE-JNA For OWL, I am using Jena: Initially my file system runs ok with no error. But after sometime my program…
0
votes
2 answers

Fuse File System- general input/output error while accessing office files

I have written a fuse mirror file system using FUSE-JNA, Which mirror local directory. This Mirror file system allow me to open all types of files correctly with no issue but it does not open all types of office files e.g. .docs , .xls etc. And…
0
votes
1 answer

FUSE filesystem -> bash: ./configure: Brak dostępu

http://fuse.sourceforge.net/ When i try to configure, bash send me error. ./configure bash: ./configure: Brak dostępu It's mean access denied. I try to do this with sudo. How to install FUSE?
mateusz.szymborski
  • 1,590
  • 1
  • 9
  • 10
0
votes
0 answers

Best way to copy Hive data from HDFS to another machine?

Source: /mnt/fuse/project/hive (This is hive data on HDFS mounted using fuse) Destination: host:/fs/dir (/fs/dir is again a network mounted storage and I do not have direct access to "host") I did rsync -avz -P -e ssh /mnt/fuse/project/hive…
Sambit Tripathy
  • 434
  • 1
  • 4
  • 14
0
votes
2 answers

Converting string to a double and back to a string

I'm having issues converting a string to a double and not exactly sure what's wrong. My add function: int add(const char *a,const char *b,char* str,int length) { printf("\n*you are in add function %s,%s*\n",a,b); //double aa = strtod(a,NULL); …
dspaces1
  • 193
  • 1
  • 3
  • 15
0
votes
1 answer

FUSE buffer size?

So I am trying to copy a string to the fuse buffer. When I try to call sizeof(buf) I get an error and my program crashes. My problem is that I believe I am reaching the maximum size of the fuse buffer because it is chopping off the last few…
Brandon Amir
  • 380
  • 1
  • 6
  • 16
0
votes
1 answer

Writing a simple filesystem in C using FUSE

I've learned the hello.c. It can create a hello file under mountfile. But I've no idea about how to create a folder under the mountfile and then create hello under mountfile/folderIcreate. then I can use cat mountfile/folderIcreate/hello the code is…
user3558391
  • 161
  • 2
  • 7
0
votes
1 answer

Is it possible to only handle remove command on FUSE mounted partitions?

I have to use FUSE only to detect the remove command on the FUSE mounted partitions and do some operations on that and my purpose of using FUSE is only that But it detects all file system calls and are channeled through FUSE. I need to avoid…
Ajay
  • 23
  • 2
  • 9
0
votes
1 answer

Using FUSE With A Parititon

I've implemented a (very) basic filesystem using FUSE. As of right now, the way FUSE mounts the system is with: ./myfusesystem /path/to/mountpoint This is all well and good, and creates the proper layer over the mountpoint. But I'm not attempting…
Tanaki
  • 2,575
  • 6
  • 30
  • 41
0
votes
1 answer

What is the encryption function in Encfs?

I'm a newbie at Encfs. After I read a paper about Encfs, I figured out there is a Encryption layer in Encfs. So I tried to find exact encryption function. but I couldn't find that because there are many functions. Does anyone have any idea or…
0
votes
3 answers

How to do a conversion using Fuse file system?

I'm getting this error: Error: invalid conversion from int (*)(const char*, fuse_file_info*) to int (*)(const char*, int) when i do static struct fuse_operations vkfs_opers; ... vkfs_opers.open = vkfs_open; but function is declarated as static…
Antigluk
  • 1,176
  • 2
  • 11
  • 30
0
votes
0 answers

How do store an encrypted file using C so that I can read the file and decrypt it?

I am trying to create a FUSE filesystem that encrypts files as they go in and then decrypts them as they come out. I started with a template that just called the appropriate system calls for most file operations then changed the read() and write()…
GTwreck
  • 31
  • 2