9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: 0intro@gmail.com (David du Colombier)
Subject: [9fans] access p9 sources from linux
Date: Fri, 11 Nov 2011 18:41:46 +0100	[thread overview]
Message-ID: <20111111184146.37469369@zinc.9fans.fr> (raw)
In-Reply-To: <CAOEdRO18qvpbubkANDqP44oNyq4Zq9p38wkYGUuSAVnwduTkWw@mail.gmail.com>

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

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

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



  reply	other threads:[~2011-11-11 17:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-11 14:58 Rudolf Sykora
2011-11-11 17:41 ` David du Colombier [this message]
2011-11-11 19:26 ` Federico G. Benavento

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=20111111184146.37469369@zinc.9fans.fr \
    --to=0intro@gmail.com \
    /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).