ObexFS project is a FUSE-based filesystem using OBEX to access the memory on mobile phones.
FUSE (Filesystem in USErspace) is a simple interface for userspace programs to export a virtual filesystem to the linux kernel. FUSE also aims to provide a secure method for non privileged users to create and mount their own filesystem implementations.
FUSE is made up of three main parts:
- A kernel filesystem module (kernel/fuse.o)
- A userspace library (lib/libfuse.a)
- A mount/unmount program (util/fusermount)
Here's how to create your very own virtual filesystem in five easy steps (after installing FUSE):
1) Edit the file example/fusexmp.c to do whatever you want...
2) Build the fusexmp program
3) run 'example/fusexmp /mnt/whatever -d'
4) ls -al /mnt/whatever
5) Be glad
If it doesn't work out, please ask! Also see the file 'include/fuse.h' for detailed documentation of the library interface.
You can also mount your filesystem like this:
fusermount /mnt/whatever example/fusexmp -d
The fusermount program now accepts a couple of additional options. Run it with the '-h' option to see a description.