Package gfs implements FUSE on top oh grailfile. Function Main is the entry point.
Main starts the FUSE server. It arranges so that contents of remoteRootDir can be accessed through mountDir. Arg remoteRootDir is typically "s3://". mountDir must be a directory in the local file system.
If daemon==true, this function will fork itself to become a background process, and this process will exit. Otherwise this function blocks until the filesystem is unmounted by a superuser running "umount <dir>".
Arg tmpDir specifies the directory to store temporary files. If tmpDir=="", it is set to /tmp/gfs-cache-<uid>.
logDir specifies the directory for storing log files. If "", log messages are sent to stderr.