This is for the lazy. This is all that has to be called from the
main() function.
This function does the following:
- parses command line options (-d -s and -h);
- passes relevant mount options to the fuse_mount();
- installs signal handlers for INT, HUP, TERM and PIPE;
- registers an exit handler to unmount the filesystem on program exit;
- creates a fuse handle;
- registers the operations;
- calls either the single-threaded or the multi-threaded event loop.
Main function of FUSE.
This is for the lazy. This is all that has to be called from the main() function.
This function does the following: - parses command line options (-d -s and -h); - passes relevant mount options to the fuse_mount(); - installs signal handlers for INT, HUP, TERM and PIPE; - registers an exit handler to unmount the filesystem on program exit; - creates a fuse handle; - registers the operations; - calls either the single-threaded or the multi-threaded event loop.