9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Joshua Wood <josh@utopian.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] query on styxlisten (Inferno) and mount (Linux)?
Date: Thu,  8 Nov 2007 16:18:41 -0800	[thread overview]
Message-ID: <8C876307-637F-443A-BB74-F54D3A7E6157@utopian.net> (raw)

> ; styxlisten -A tcp!*!5901 { export '#U*/home/user & }
> in the inferno window

We invoke styxlisten something like:

	styxlisten -A tcp!*!564 export '#U'

This exports the entire Inferno root. Styxlisten will start a  
listener and return, so I don't think you need the "&". 564 is the  
usual 9p port.

You can export pieces of the inferno root namespace, rather than the  
whole thing, by appending an (inferno-rooted) path to the command.


>
> and tried to mount it in a Linux window as:
>
> # mount -9p <ip-address-inferno-hosting-box> /mnt -o  
> trans=tcp,port=5901

	mount -t 9p <infernohost> /mnt/n/infernohost

Gets us hooked up from linux to the inferno 9p service started above;  
we don't feed any options to the mount command for this kind of use.

>
> the mount hangs

I don't think it hangs -- I think you have a missing "'" in your  
original styxlisten command, and then background it with "&", so you  
don't see that it hasn't started running.

--
Josh


             reply	other threads:[~2007-11-09  0:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-09  0:18 Joshua Wood [this message]
2007-11-09 12:54 ` roger peppe
  -- strict thread matches above, loose matches on Subject: below --
2007-11-08 22:43 ISHWAR RATTAN

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=8C876307-637F-443A-BB74-F54D3A7E6157@utopian.net \
    --to=josh@utopian.net \
    --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).