Fuse-Python: unable to run example

I iterate over fuse-python bindings and I cannot figure out how to run the example xmp.pyfrom the library package ( xmp.pylocated here ). Looking at the lecture slide from MIT (located here ), slide 33 displays the command line, calling xmp.py:

./xmp.py --o root=/mit/sipb/ /tmp/mntdir

(I do python xmp.pyinstead ./xmp.py, as my ubuntu does not understand ./with python script for some reason)

From what I get from it, root=/mit/sipbarg is the directory of what you emulate, and /tmp/mntdirthis is where you mount FUSE FS. So I'm trying ...

python xmp.py --o root=/home/chris /tmp/fs

... and he does not want to start, and he complains about the option --o. I delete the parameter --oand it starts ( ps axshows that it works), but the folder /tmp/fsbecomes damaged, and when I try to access it, I get cannot access /tmp/fs: Input/output error.

How to launch xmp.py?

Thank!

(I also tried replacing --owith -oand it still doesn't work.)

+3
source share
1 answer

I tried your script and in my ubuntu window with this command line:

python xmp.py -o root=/home/chris /tmp/fs

it works!

It --onever works with an option ;)

+4
source

All Articles