On Thu, Jun 19, 2008 at 6:21 PM, Russ Cox <[EMAIL PROTECTED]> wrote:
>>> 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.)
>
The ability to mount file descriptors has been in for a few years (at
least since 2006). trans=fd allows you to mount from a file
descriptor (or from separate read and write file descriptors). The
code should be functional, but it is not something which currently
gets regressed very often.
-eric
> 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
>
>
>