9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] mount p9 sources in p9p
       [not found] <CAOEdRO1okbLE51iXtGTOHBpn4tpmRDf9vr0OqhN9KyoSzhW4qQ@mail.gmail.com>
@ 2013-04-20  8:49 ` Rudolf Sykora
  2013-04-20 10:47   ` Skip Tavakkolian
                     ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Rudolf Sykora @ 2013-04-20  8:49 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Hello,

can I do something like '9fs sources' but in p9p so that I could read
p9 (not port) sources in linux?
I'd guess it is possible, but I don't know how...

Thanks!
Ruda



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] mount p9 sources in p9p
  2013-04-20  8:49 ` [9fans] mount p9 sources in p9p Rudolf Sykora
@ 2013-04-20 10:47   ` Skip Tavakkolian
  2013-04-20 12:48   ` erik quanstrom
  2013-04-20 17:11   ` David du Colombier
  2 siblings, 0 replies; 7+ messages in thread
From: Skip Tavakkolian @ 2013-04-20 10:47 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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

9vx is a good option.
On Apr 20, 2013 1:51 AM, "Rudolf Sykora" <rudolf.sykora@gmail.com> wrote:

> Hello,
>
> can I do something like '9fs sources' but in p9p so that I could read
> p9 (not port) sources in linux?
> I'd guess it is possible, but I don't know how...
>
> Thanks!
> Ruda
>
>

[-- Attachment #2: Type: text/html, Size: 573 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] mount p9 sources in p9p
  2013-04-20  8:49 ` [9fans] mount p9 sources in p9p Rudolf Sykora
  2013-04-20 10:47   ` Skip Tavakkolian
@ 2013-04-20 12:48   ` erik quanstrom
  2013-04-21 10:02     ` Rudolf Sykora
  2013-04-20 17:11   ` David du Colombier
  2 siblings, 1 reply; 7+ messages in thread
From: erik quanstrom @ 2013-04-20 12:48 UTC (permalink / raw)
  To: 9fans

> can I do something like '9fs sources' but in p9p so that I could read
> p9 (not port) sources in linux?
> I'd guess it is possible, but I don't know how...

	srv -n sources.cs.bell-labs.com sources
	9p ls sources | mc

it's actually exactly the same as plan 9; you could use
plan 9's 9fs script for sources.

- erik



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] mount p9 sources in p9p
  2013-04-20  8:49 ` [9fans] mount p9 sources in p9p Rudolf Sykora
  2013-04-20 10:47   ` Skip Tavakkolian
  2013-04-20 12:48   ` erik quanstrom
@ 2013-04-20 17:11   ` David du Colombier
  2013-04-21 10:04     ` Rudolf Sykora
  2 siblings, 1 reply; 7+ messages in thread
From: David du Colombier @ 2013-04-20 17:11 UTC (permalink / raw)
  To: 9fans

> can I do something like '9fs sources' but in p9p so that I could read
> p9 (not port) sources in linux?
> I'd guess it is possible, but I don't know how...

Using 9pfuse:

9pfuse sources.cs.bell-labs.com /n/sources

Using v9fs:

mount -t 9p 204.178.31.11 /n/sources

You can also do the same using p9p's mount script.

If you want to resolve names automatically,
you can use sqweek's 9mount wrapper:

http://sqweek.net/code/9mount/

--
David du Colombier



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] mount p9 sources in p9p
  2013-04-20 12:48   ` erik quanstrom
@ 2013-04-21 10:02     ` Rudolf Sykora
  0 siblings, 0 replies; 7+ messages in thread
From: Rudolf Sykora @ 2013-04-21 10:02 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On 20 April 2013 14:48, erik quanstrom <quanstro@quanstro.net> wrote:
>> can I do something like '9fs sources' but in p9p so that I could read
>> p9 (not port) sources in linux?
>> I'd guess it is possible, but I don't know how...
>
>         srv -n sources.cs.bell-labs.com sources
>         9p ls sources | mc
>
> it's actually exactly the same as plan 9; you could use
> plan 9's 9fs script for sources.
>
> - erik
>

Thank you.
I tried it and it works, however, with this, if I understand it right
I can't simply walk around in the filesystem, can I?
(or what do you mean by the '|mc'?)

Ruda



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] mount p9 sources in p9p
  2013-04-20 17:11   ` David du Colombier
@ 2013-04-21 10:04     ` Rudolf Sykora
  2013-04-21 14:22       ` Steve Simon
  0 siblings, 1 reply; 7+ messages in thread
From: Rudolf Sykora @ 2013-04-21 10:04 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On 20 April 2013 19:11, David du Colombier <0intro@gmail.com> wrote:
> Using 9pfuse:
>
> 9pfuse sources.cs.bell-labs.com /n/sources
>
> Using v9fs:
>
> mount -t 9p 204.178.31.11 /n/sources

Both ways work for me, however, it is, for some reason, very slow.
(I wait several seconds before 'ls' shows its output...)
Is it slow only for me?

Thanks!
Ruda



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] mount p9 sources in p9p
  2013-04-21 10:04     ` Rudolf Sykora
@ 2013-04-21 14:22       ` Steve Simon
  0 siblings, 0 replies; 7+ messages in thread
From: Steve Simon @ 2013-04-21 14:22 UTC (permalink / raw)
  To: 9fans

> Is it slow only for me?

9p doesn't play very well with high(er) latency networks, so much depends
on router perfornace and the geographic distance between you and the labs.
if you are unlucky enough to have your IP routed over satalite links
the performance will be very poor.

Having said all this ensuring that '.' is not at the start of your path
will help (if you  are cd'ing to /n/sources), otherwise you lose several
roundtrips whilst rc(1) discovers there is no ls(1) in the currect (remote)
directory.

-Steve



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-04-21 14:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAOEdRO1okbLE51iXtGTOHBpn4tpmRDf9vr0OqhN9KyoSzhW4qQ@mail.gmail.com>
2013-04-20  8:49 ` [9fans] mount p9 sources in p9p Rudolf Sykora
2013-04-20 10:47   ` Skip Tavakkolian
2013-04-20 12:48   ` erik quanstrom
2013-04-21 10:02     ` Rudolf Sykora
2013-04-20 17:11   ` David du Colombier
2013-04-21 10:04     ` Rudolf Sykora
2013-04-21 14:22       ` Steve Simon

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).