Skip to content

A simplified Vala translation of the libfuse helloworld example.

License

Notifications You must be signed in to change notification settings

kgilmer/vala-libfuse-helloworld-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vala libfuse helloworld sample

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.

Build

Prerequisites

  • Meson
  • Ninja
  • libfuse
  • valac

Build

$ meson build
$ cd build
$ ninja

Run

$ sudo mkdir /tmp/fuse-test
$ sudo chown <username> /mnt/fuse-test
$ ./src/fuse-example /mnt/fuse-test

Test

$ ls /mnt/fuse-test/
hello
$ cat /mnt/fuse-test/hello
Hello World!

Notes

Special thanks to Guillaume Poirier-Morency for help with setting C symbols via Meson.

About

A simplified Vala translation of the libfuse helloworld example.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published