9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Russ Cox <rsc@swtch.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] xcpu fix for Plan9.c
Date: Fri, 21 Oct 2005 00:31:13 -0400	[thread overview]
Message-ID: <ee9e417a0510202131o950d3e7je349a8a5482d5732@mail.gmail.com> (raw)
In-Reply-To: <e4a17122cb07dce97db46b00d2a81637@orthanc.cc.titech.ac.jp>

> Does p9p threadpostmountsrv() listen on the network,
> if it is given a network address as the service name?

Yes, it does, but that's not 100% by design.
It's a side effect of the fact that the equivalent
of /srv is already a type of network (unix sockets)
so there is an extra program 9pserve that takes
care of announcing on the network and multiplexing
many clients onto a single 9P connection.  In Plan 9,
the kernel is expected to do that, so you'd do:

    xcpusrv -s myservice
    aux/listen1 -v tcp!*!20001 /bin/exportfs -S /srv/myservice

russ


  reply	other threads:[~2005-10-21  4:31 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-21  4:24 YAMANASHI Takeshi
2005-10-21  4:31 ` Russ Cox [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-10-24  1:01 YAMANASHI Takeshi
2005-10-21  5:55 YAMANASHI Takeshi
2005-10-21  2:14 YAMANASHI Takeshi
2005-10-24 14:40 ` Ronald G Minnich
2005-10-24 14:57   ` Lucio De Re
2005-10-24 15:06     ` Lucio De Re
2005-10-20  2:58 YAMANASHI Takeshi
2005-10-20 14:33 ` Ronald G Minnich
2005-10-20 15:40 ` Ronald G Minnich
2005-10-20 15:56   ` Ronald G Minnich
2005-10-22  3:43 ` kokamoto
2005-10-24 14:46   ` Ronald G Minnich
2005-10-25  2:24     ` Kenji Okamoto
2005-10-25  2:29       ` Kenji Okamoto
2005-10-25 20:56       ` Ronald G Minnich
2005-10-19 13:28 Ronald G Minnich

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=ee9e417a0510202131o950d3e7je349a8a5482d5732@mail.gmail.com \
    --to=rsc@swtch.com \
    --cc=9fans@cse.psu.edu \
    /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).