$ sudo apt-get install fuse
$ brew cask install osxfuse
$ go get
$ go build -o lot-fuse main.go
$ export LOTPATH=/tmp/mountpoint
$ export LOTBIN=$LOTPATH/bin
$ export PATH=$PATH:$LOTBIN
$ mkdir -p $LOTBIN
$ umount $LOTBIN ; go build -o lot-fuse main2.go && ./lot-fuse -fuse.debug $LOTBIN
## References
- https://github.com/osxfuse/osxfuse/wiki/FAQ
- https://github.com/ipfs/go-ipfs/blob/master/docs/fuse.md
- https://www.cyberciti.biz/faq/reload-sysctl-conf-on-linux-using-sysctl/
# test scripts
diskutil unmount $LOTBIN ; go build -o lot-fuse main.go && ./lot-fuse -debug $LOTBIN
umount $LOTBIN ; go build -o lot-fuse main2.go && ./lot-fuse -fuse.debug $LOTBIN