This document is on the current implementation, see also intro.
Examples:
python x-fuse.py /tmp/x-fuse/ "OSPassthrough('$PWD')"
python x-fuse.py /tmp/x-fuse "OSStack('$PATH')"
python x-fuse.py /tmp/x-fuse "HideBrokenSymlinks('$PWD')"
Generic invocation takes a python expression to initialize filesystem:
python x-fuse.py ./my/path/to/mount/ "<FSType>(<FSArgs>)" [ FSName [ PIDFile ]]
These environment variables are picked up to customize FUSE behaviour; defaults:
X_FUSE_THREADS=false
X_FUSE_BACKGROUND=true
make test
can't test pyvfs and py9p on OSX:
$ mount -t 9p -o ro,port=10001 127.0.0.1 /mnt/py9p-test/ mount: exec /Library/Filesystems/9p.fs/Contents/Resources/mount_9p for /mnt/py9p-test: No such file or directory
- gdrivefs must be compiled, which it doesn't manage on my OSX/Darwin.
- Add-in LoggingMixIn, see fusepy/examples.
- Build a slightly more complex OSPassthrough with path renames/filtering. Besides names also may want to map or filter on type (file/dir/special), size, access mode.
- May want to have a go with other libs: (py)vfs/objfs, py9p. fusecry seems to install cleanly also.
Some other things to look at. At PyPi12, at GitHub3.
- gdrivefs 0.14.8 access Google drive
- mockfs 1.0.2
- SVFS 2.0.0 - Multi-purpose virtual file system inside single file
- fusecry 0.11.2 - Encrypted filesystem and encryption tool based on FUSE and AES.
- CouchDB-FUSE 0.2dev mount and edit CouchDB attachments
On a sidenode, PyFilesystem is a suite aiming to bring a universal file-like interface regardless of the reality.4 Very neat, does it mount too?