9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Charles Forsyth <forsyth@terzarima.net>
To: 9fans@9fans.net
Subject: Re: [9fans] the futility of QTMOUNT
Date: Wed,  8 Dec 2010 16:26:38 +0000	[thread overview]
Message-ID: <8f646c8069d0c94b170f73daec7c7a42@terzarima.net> (raw)
In-Reply-To: <066486e67299fd5a3f2605c8df948616@plug.quanstro.net>

QTMOUNT allows exportfs to detect an attempt to open a /srv file
that has been opened and mounted somewhere on the system running exportfs
(i'll refer to that as the `called system' and the client of exportfs as
the `calling system').

exportfs opens the /srv file, mounts that file descriptor itself,
and then serves 9p itself to access the resulting name space,
when the caller mounts it (on the calling system), just as
if the caller had been able to open the /srv file directly to mount it
(on the calling system). that's needed because once a file is serving 9p,
it can't be read or written directly (see the CMSG flag on chans).

it isn't to do with exporting name spaces that contain remote elements.



  reply	other threads:[~2010-12-08 16:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-08 13:16 erik quanstrom
2010-12-08 16:26 ` Charles Forsyth [this message]
2010-12-08 16:24   ` erik quanstrom
2010-12-08 17:19     ` Charles Forsyth

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=8f646c8069d0c94b170f73daec7c7a42@terzarima.net \
    --to=forsyth@terzarima.net \
    --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).