From mboxrd@z Thu Jan 1 00:00:00 1970 From: 0intro@gmail.com (David du Colombier) Date: Fri, 11 Nov 2011 18:41:46 +0100 Subject: [9fans] access p9 sources from linux In-Reply-To: References: Message-ID: <20111111184146.37469369@zinc.9fans.fr> Topicbox-Message-UUID: 3f01e5b8-ead7-11e9-9d60-3106f5b1d025 > 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