>> A few p9p programs--acme, tapefs, vacfs--now
>> accept a -m option directing them to mount at a
>> particular place in the directory tree, via 9pfuse.
>> There is no option to mount via the Linux 9p module.
> 
> Why not have them use p9p's mount(1)?

The code is trying to mount a file descriptor, and 
the Linux 9P module provides no way to do that.
(In fact, that was the very first thing I asked for, years ago,
when I started trying to use v9fs, and to my knowledge,
it still hasn't happened.  Ron and Eric are focused on 
replacing NFS, not building user-level file servers.)

I edited the code to call out to a non-existent mount9p
program before it invokes 9pfuse.  If you put a mount9p
in your path that can be invoked:

        mount9p - /mnt

to mount fd 0 onto /mnt, then the -m options will use 
that instead of 9pfuse.  Perhaps one day v9fs will ship
with such a program.

Russ


Reply via email to