From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Sat, 20 Apr 2013 10:49:02 +0200 Message-ID: From: Rudolf Sykora To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: [9fans] mount p9 sources in p9p Topicbox-Message-UUID: 44cbd9f8-ead8-11e9-9d60-3106f5b1d025 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 From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Sat, 20 Apr 2013 03:47:28 -0700 Message-ID: From: Skip Tavakkolian To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=e89a8f642c9cd5417304dac88f70 Subject: Re: [9fans] mount p9 sources in p9p Topicbox-Message-UUID: 44d1c87c-ead8-11e9-9d60-3106f5b1d025 --e89a8f642c9cd5417304dac88f70 Content-Type: text/plain; charset=ISO-8859-1 9vx is a good option. On Apr 20, 2013 1:51 AM, "Rudolf Sykora" 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 > > --e89a8f642c9cd5417304dac88f70 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

9vx is a good option.

--e89a8f642c9cd5417304dac88f70-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Sat, 20 Apr 2013 08:48:10 -0400 To: 9fans@9fans.net Message-ID: <2a38eb40590c1cde355379b676bdcec8@kw.quanstro.net> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] mount p9 sources in p9p Topicbox-Message-UUID: 44da073a-ead8-11e9-9d60-3106f5b1d025 > 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sat, 20 Apr 2013 19:11:57 +0200 From: David du Colombier <0intro@gmail.com> To: 9fans@9fans.net Message-ID: <20130420191157.7d45c497@zinc.9fans.fr> In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [9fans] mount p9 sources in p9p Topicbox-Message-UUID: 44ffe586-ead8-11e9-9d60-3106f5b1d025 > 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 From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <2a38eb40590c1cde355379b676bdcec8@kw.quanstro.net> References: <2a38eb40590c1cde355379b676bdcec8@kw.quanstro.net> Date: Sun, 21 Apr 2013 12:02:22 +0200 Message-ID: From: Rudolf Sykora To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] mount p9 sources in p9p Topicbox-Message-UUID: 457164fe-ead8-11e9-9d60-3106f5b1d025 On 20 April 2013 14:48, erik quanstrom 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=C2=A0can't simply walk around in the filesystem, can I? (or what do you mean by the '|mc'?) Ruda From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <20130420191157.7d45c497@zinc.9fans.fr> References: <20130420191157.7d45c497@zinc.9fans.fr> Date: Sun, 21 Apr 2013 12:04:39 +0200 Message-ID: From: Rudolf Sykora To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] mount p9 sources in p9p Topicbox-Message-UUID: 456af22c-ead8-11e9-9d60-3106f5b1d025 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <83ab898053db7d8e69cd5a6233b600de@quintile.net> From: "Steve Simon" Date: Sun, 21 Apr 2013 15:22:06 +0100 To: 9fans@9fans.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] mount p9 sources in p9p Topicbox-Message-UUID: 45841996-ead8-11e9-9d60-3106f5b1d025 > 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