Discussion:
[9fans] access p9 sources from linux
(too old to reply)
Rudolf Sykora
2011-11-11 14:58:02 UTC
Permalink
Hello,

1/ when on plan9 one can do
9fs sources
to get access to p9 sources

Can one do sth similar on linux (say with p9p installed)?

2/ Related:
there is a web access to the sources
http://plan9.bell-labs.com/sources/plan9

Is there a simple way to get a local copy of some of sources' subtree?
I tried to write a command using wget, but I couldn't get it right...

Thank you!
Ruda
David du Colombier
2011-11-11 17:41:46 UTC
Permalink
Post by Rudolf Sykora
1/ when on plan9 one can do
9fs sources
to get access to p9 sources
Can one do sth similar on linux (say with p9p installed)?
You don't even need to have plan9port if you don't need authentication.

On Linux, you can use v9fs:

% mount -t 9p 204.178.31.11 /n/sources

You can also use v9fs with the 9mount [1] wrapper from squeek:

% 9mount tcp!sources.cs.bell-labs.com /n/sources

It has the following advantages:

- you don't need to be root,
- it resolves names for you,
- it uses the standard dial string.

It can be found at the following URL:

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

If you want authentication, you need to have plan9port :

% srv -a sources.cs.bell-labs.com
% 9mount unix!/tmp/ns.$USER.0/sources.cs.bell-labs.com /n/sources

Of course, factotum needs to be running.

On other systems, you can use 9pfuse or other mechanisms.
Post by Rudolf Sykora
there is a web access to the sources
http://plan9.bell-labs.com/sources/plan9
Is there a simple way to get a local copy of some of sources' subtree?
I tried to write a command using wget, but I couldn't get it right...
If you really want to use HTTP, the easiest way is probably
to grab the Plan 9 CD image:

hget -o plan9.iso.bz2 http://plan9.bell-labs.com/plan9/download/plan9.iso.bz2
--
David du Colombier
Federico G. Benavento
2011-11-11 19:26:59 UTC
Permalink
http://plan9.bell-labs.com/sources/extra/plan9.tar.bz2
built daily
Post by Rudolf Sykora
Is there a simple way to get a local copy of some of sources' subtree?
Continue reading on narkive:
Loading...