9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Russ Cox" <rsc@swtch.com>
To: 9fans@9fans.net
Subject: Re: [9fans] P9p's mount(1) on linux
Date: Thu, 19 Jun 2008 19:21:10 -0400	[thread overview]
Message-ID: <20080619231951.6394F1E8C1F@holo.morphisms.net> (raw)
In-Reply-To: <5d375e920806191329s6c88cd6fred9ff5ce9513b22d@mail.gmail.com>

>> 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	other threads:[~2008-06-19 23:21 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-19  1:42 Uriel
2008-06-19  1:57 ` Eric Van Hensbergen
2008-06-19  3:05   ` Uriel
2008-06-19 11:08     ` Rodolfo kix García 
2008-06-19 15:10       ` Russ Cox
2008-06-19 20:29         ` Uriel
2008-06-19 23:21           ` Russ Cox [this message]
2008-06-19 23:40             ` Eric Van Hensbergen
2008-06-19 23:55               ` Skip Tavakkolian
2008-06-19 21:08         ` sqweek
2008-06-19 22:59           ` Russ Cox
2008-06-20  1:34             ` sqweek
2008-06-19 11:35     ` Iruata Souza
2008-06-19 15:53     ` Eric Van Hensbergen
2008-06-19 15:56       ` erik quanstrom
2008-06-19 20:25       ` Uriel
2008-06-19 20:39       ` sqweek
2008-06-19 21:52         ` Eric Van Hensbergen
2008-06-19 22:04       ` Eric Van Hensbergen
2008-06-19 22:46         ` Rob Pike
2008-06-20 12:37         ` sqweek
2008-06-20 13:20           ` Eric Van Hensbergen
2008-06-20 14:59         ` ron minnich
2008-06-19 13:33   ` Sape Mullender

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080619231951.6394F1E8C1F@holo.morphisms.net \
    --to=rsc@swtch.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).