8

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

2 Answers2

5

Fuse actually ships with a few examples using the low-level API. Have a look at hello_ll.c.

https://github.com/libfuse/libfuse/blob/master/example/hello_ll.c

Jan Tojnar
  • 5,306
  • 3
  • 29
  • 49
jleahy
  • 16,149
  • 6
  • 47
  • 66
  • 1
    For anyone reading this, you may find it under a moved URL: https://raw.githubusercontent.com/libfuse/libfuse/master/example/hello_ll.c – Tom Nov 06 '18 at 13:06
3

Unfortunate the low level header, fuse_lowlevel.h and the library source itself are the best reference on the low-level API. The higher level one is much nicer to use, I'd recommend that instead.

Jan Tojnar
  • 5,306
  • 3
  • 29
  • 49
Matt Joiner
  • 112,946
  • 110
  • 377
  • 526