9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Steve Simon" <steve.simon@snellwilcox.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] /bin/export (tunneling out)
Date: Mon, 15 Dec 2003 17:21:46 +0000	[thread overview]
Message-ID: <a2461120d324e40f2c8205b208eccefa@snellwilcox.com> (raw)
In-Reply-To: <da5874dfa80b4d1ae82239082163f977@plan9.bell-labs.com>

[-- Attachment #1: Type: text/plain, Size: 431 bytes --]

OK, after fiddleing some more I think I too
understand.

I can just mount over the top of /net for my application,
not as elegant but just as effective.

I'am not sure what your fix would be but a suggestion:
Could cs return relative paths rather than absolute ones?
The problem, of course, is finding all the things this breaks,
though I guess dial() reduces these in just a handfull.

Thanks for the help

-Steve


[-- Attachment #2: Type: message/rfc822, Size: 4752 bytes --]

[-- Attachment #2.1.1: Type: text/plain, Size: 359 bytes --]

The problem is that even with addresses, the remove /net's cs
comes back with a formula of

	/net/tcp/clone 111.222.333.444!23

It's a failure of vision on my part.  I always mount like
network to like so (/net to /net, /net.alt to /net.alt) and
don't notice it.  However, it is stupid.  I've been considering
fixing it for a while.  I guess its time.

[-- Attachment #2.1.2: Type: message/rfc822, Size: 2171 bytes --]

From: steve-simon@ntlworld.nospam.com
To: 9fans@cse.psu.edu
Subject: [9fans] /bin/export (tunneling out)
Date: Mon, 15 Dec 2003 16:42:02 0000
Message-ID: <b11c9efb42da9958f25fbb9a809c0225@snellwilcox.com>

Hi,

I want to want to export /net from my terminal to
a remote cpu server.

I assumed I could just do:
	term% cpu -h remotemachine
	cpu% bind /mnt/term/net/ /net.alt
	cpu% telnet /net.alt/tcp!111.222.333.444!telnet
	telnet: connection timed out

(I used IP addresses to avoid ndb/cs and any problems
it might introduce).

I don't understand why the telnet fails.

I think (guess) there is a better way to do
this using exportfs/srvfs/cpu but I cannot quite see how...

-Steve

  reply	other threads:[~2003-12-15 17:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-15 16:42 steve-simon
2003-12-15 17:03 ` David Presotto
2003-12-15 17:08 ` David Presotto
2003-12-15 17:21   ` Steve Simon [this message]
2003-12-15 17:26     ` David Presotto
2003-12-15 17:32       ` Steve Simon

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=a2461120d324e40f2c8205b208eccefa@snellwilcox.com \
    --to=steve.simon@snellwilcox.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).