This is a simplified direct translation of the "hello world" libfuse example in C. It does not allow for the filename nor contents to be provided on the command-line at invocation time, otherwise it should be equivelent.
- Meson
- Ninja
- libfuse
- valac
$ meson build
$ cd build
$ ninja
$ sudo mkdir /tmp/fuse-test
$ sudo chown <username> /mnt/fuse-test
$ ./src/fuse-example /mnt/fuse-test
$ ls /mnt/fuse-test/
hello
$ cat /mnt/fuse-test/hello
Hello World!
Special thanks to Guillaume Poirier-Morency for help with setting C symbols via Meson.