9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] exportfs / u9fs / v9fs / npfs / spfs versus 9vx
@ 2011-05-12 16:49 Daniel Lyons
  2011-05-12 18:13 ` Lyndon Nerenberg
                   ` (2 more replies)
  0 siblings, 3 replies; 23+ messages in thread
From: Daniel Lyons @ 2011-05-12 16:49 UTC (permalink / raw)
  To: 9fans

Here's my situation: I have a FreeBSD VPS somewhere in the world. I
have 9vx locally. I want to access files on the FreeBSD VPS from my
9vx running over here. How?

 - exportfs doesn't exist in p9p.
 - u9fs seems to be defunct; there's nowhere to download the source.
 - v9fs seems to be Linux-only.
 - npfs seems to be nothing but an umbrella for spfs.
 - spfs seems to build a binary "ufs" which, no matter how I run it,
   exits right away. Did I miss some documentation?

What's going on? It feels like I'm missing some obvious trick.
Security for this operation would be nice, but I don't consider it
necessary.

Thanks,

--
Daniel Lyons



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

* Re: [9fans] exportfs / u9fs / v9fs / npfs / spfs versus 9vx
  2011-05-12 16:49 [9fans] exportfs / u9fs / v9fs / npfs / spfs versus 9vx Daniel Lyons
@ 2011-05-12 18:13 ` Lyndon Nerenberg
  2011-05-12 18:14 ` Stanley Lieber
  2011-05-12 19:58 ` Anthony Sorace
  2 siblings, 0 replies; 23+ messages in thread
From: Lyndon Nerenberg @ 2011-05-12 18:13 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> - u9fs seems to be defunct; there's nowhere to download the source.

http://plan9.bell-labs.com/sources/plan9/sys/src/cmd/unix/u9fs/



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

* Re: [9fans] exportfs / u9fs / v9fs / npfs / spfs versus 9vx
  2011-05-12 16:49 [9fans] exportfs / u9fs / v9fs / npfs / spfs versus 9vx Daniel Lyons
  2011-05-12 18:13 ` Lyndon Nerenberg
@ 2011-05-12 18:14 ` Stanley Lieber
  2011-05-12 18:52   ` Bakul Shah
  2011-05-12 19:58 ` Anthony Sorace
  2 siblings, 1 reply; 23+ messages in thread
From: Stanley Lieber @ 2011-05-12 18:14 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Thu, May 12, 2011 at 11:49 AM, Daniel Lyons <fusion@storytotell.org> wrote:
> Here's my situation: I have a FreeBSD VPS somewhere in the world. I
> have 9vx locally. I want to access files on the FreeBSD VPS from my
> 9vx running over here. How?
>
>  - exportfs doesn't exist in p9p.
>  - u9fs seems to be defunct; there's nowhere to download the source.
>  - v9fs seems to be Linux-only.
>  - npfs seems to be nothing but an umbrella for spfs.
>  - spfs seems to build a binary "ufs" which, no matter how I run it,
>   exits right away. Did I miss some documentation?
>
> What's going on? It feels like I'm missing some obvious trick.
> Security for this operation would be nice, but I don't consider it
> necessary.
>
> Thanks,
>
> --
> Daniel Lyons

http://plan9.bell-labs.com/sources/plan9/sys/src/cmd/unix/u9fs

This is the basis of the OpenBSD port.

-sl



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

* Re: [9fans] exportfs / u9fs / v9fs / npfs / spfs versus 9vx
  2011-05-12 18:14 ` Stanley Lieber
@ 2011-05-12 18:52   ` Bakul Shah
  2011-05-12 19:03     ` Daniel Lyons
  0 siblings, 1 reply; 23+ messages in thread
From: Bakul Shah @ 2011-05-12 18:52 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Thu, 12 May 2011 13:14:55 CDT Stanley Lieber <stanley.lieber@gmail.com>  wrote:
> On Thu, May 12, 2011 at 11:49 AM, Daniel Lyons <fusion@storytotell.org> wro=
> te:
> > Here's my situation: I have a FreeBSD VPS somewhere in the world. I
> > have 9vx locally. I want to access files on the FreeBSD VPS from my
> > 9vx running over here. How?
> >
> > =C2=A0- exportfs doesn't exist in p9p.
> > =C2=A0- u9fs seems to be defunct; there's nowhere to download the source.
> > =C2=A0- v9fs seems to be Linux-only.
> > =C2=A0- npfs seems to be nothing but an umbrella for spfs.
> > =C2=A0- spfs seems to build a binary "ufs" which, no matter how I run it,
> > =C2=A0 exits right away. Did I miss some documentation?
> >
> > What's going on? It feels like I'm missing some obvious trick.
> > Security for this operation would be nice, but I don't consider it
> > necessary.
> >
> > Thanks,
> >
> > --
> > Daniel Lyons
>
> http://plan9.bell-labs.com/sources/plan9/sys/src/cmd/unix/u9fs
>
> This is the basis of the OpenBSD port.

unix/9pfreebsd is really too old to be useful but may be one
can start a new FreeBSD port from the openBSD bits?  I'd be
interested in such a thing.



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

* Re: [9fans] exportfs / u9fs / v9fs / npfs / spfs versus 9vx
  2011-05-12 18:52   ` Bakul Shah
@ 2011-05-12 19:03     ` Daniel Lyons
  2011-05-12 19:11       ` Stanley Lieber
                         ` (2 more replies)
  0 siblings, 3 replies; 23+ messages in thread
From: Daniel Lyons @ 2011-05-12 19:03 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Thu, May 12, 2011 at 11:52:30AM -0700, Bakul Shah wrote:
> On Thu, 12 May 2011 13:14:55 CDT Stanley Lieber <stanley.lieber@gmail.com>  wrote:
> > http://plan9.bell-labs.com/sources/plan9/sys/src/cmd/unix/u9fs
> >
> > This is the basis of the OpenBSD port.
>
> unix/9pfreebsd is really too old to be useful but may be one
> can start a new FreeBSD port from the openBSD bits?  I'd be
> interested in such a thing.

It compiles w/ 2 warning messages on my machine. Setting it up is
turning out to be interesting. I think probably the safest thing for
me to do would be to try tunnelling it over ssh, since both host
operating systems can do ssh v2. Still hammering on it. It does look
like 9vx isn't really able to talk to the machine from here, which is
odd because p9p's srv seems to be able to, at least make the
connection, though I'm not having much luck with that either.

How are you guys using these tools?

--
Daniel Lyons



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

* Re: [9fans] exportfs / u9fs / v9fs / npfs / spfs versus 9vx
  2011-05-12 19:03     ` Daniel Lyons
@ 2011-05-12 19:11       ` Stanley Lieber
  2011-05-12 19:17       ` andrey mirtchovski
  2011-05-12 20:30       ` Bakul Shah
  2 siblings, 0 replies; 23+ messages in thread
From: Stanley Lieber @ 2011-05-12 19:11 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Thu, May 12, 2011 at 2:03 PM, Daniel Lyons <fusion@storytotell.org> wrote:
> On Thu, May 12, 2011 at 11:52:30AM -0700, Bakul Shah wrote:
>> On Thu, 12 May 2011 13:14:55 CDT Stanley Lieber <stanley.lieber@gmail.com>  wrote:
>> > http://plan9.bell-labs.com/sources/plan9/sys/src/cmd/unix/u9fs
>> >
>> > This is the basis of the OpenBSD port.
>>
>> unix/9pfreebsd is really too old to be useful but may be one
>> can start a new FreeBSD port from the openBSD bits?  I'd be
>> interested in such a thing.
>
> It compiles w/ 2 warning messages on my machine. Setting it up is
> turning out to be interesting. I think probably the safest thing for
> me to do would be to try tunnelling it over ssh, since both host
> operating systems can do ssh v2. Still hammering on it. It does look
> like 9vx isn't really able to talk to the machine from here, which is
> odd because p9p's srv seems to be able to, at least make the
> connection, though I'm not having much luck with that either.
>
> How are you guys using these tools?

I connect to unix machines from Plan 9 by installing fgb/openssh
from contrib, binding /386/bin/openssh over /bin, and then using srvssh.

The command line looks something like this:

srvssh sl@phoenix phoenix && 9fs phoenix

This mounts u9fs running as user sl on host phoenix in /n/phoenix.

Alternately, taruti's scpu (ssh2 client written in go) can be used:

srv -s 5 'scpu -u sl -h phoenix -notty -c u9fs -u sl -na none' phoenix
/n/phoenix

scpu is available here:

https://bitbucket.org/taruti/scpu

-sl



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

* Re: [9fans] exportfs / u9fs / v9fs / npfs / spfs versus 9vx
  2011-05-12 19:03     ` Daniel Lyons
  2011-05-12 19:11       ` Stanley Lieber
@ 2011-05-12 19:17       ` andrey mirtchovski
  2011-05-13 23:00         ` Daniel Lyons
  2011-05-12 20:30       ` Bakul Shah
  2 siblings, 1 reply; 23+ messages in thread
From: andrey mirtchovski @ 2011-05-12 19:17 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> How are you guys using these tools?

it's not the most sophisticated setup, but it works, at least for the
stuff that i need. pycrypto is a prerequisite:

----
hg clone bitbucket.org/f2f/py9p
python setup.py install
localsrv.py -p 10000

then in 9vx:

% srv tcp!127.0.0.1!10000 blah /n/blah
post...
% cd /n/blah
% ls -l | grep mach_kernel
--rw-r--r-- M 19 root   wheel 18694040 Jan 29 16:18 mach_kernel
%

if you want a more modern language and a faster implementation:

goinstall go9p.googlecode.org/hg/p/srv
cd $GOROOT/src/pkg/go9p.googlecode.org/hg/p/srv/examples && make ufs
./ufs -addr=":10000"

then in 9vx:

% srv tcp!127.0.0.1!10000 blah /n/blah
post...
% cd /n/blah
% ls -l mach_kernel
--rw-r--r-- M 19 none none 18694040 Jan 29 16:18 mach_kernel
%



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

* Re: [9fans] exportfs / u9fs / v9fs / npfs / spfs versus 9vx
  2011-05-12 16:49 [9fans] exportfs / u9fs / v9fs / npfs / spfs versus 9vx Daniel Lyons
  2011-05-12 18:13 ` Lyndon Nerenberg
  2011-05-12 18:14 ` Stanley Lieber
@ 2011-05-12 19:58 ` Anthony Sorace
  2011-05-12 21:04   ` Steve Simon
  2011-05-12 22:03   ` Charles Forsyth
  2 siblings, 2 replies; 23+ messages in thread
From: Anthony Sorace @ 2011-05-12 19:58 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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

i use u9fs regularly; i install it on any unix machine i'm required
to care about. these days that's only os x boxes, and the source
in the distribution builds without issue for me there. i can dig up
the configuration if that'd be helpful, but it's for launchd (apple's
inetd replacement). i believe a few folks have posted examples
to 9fans in the past.

u9fs has the advantage of doing (most of) plan9 auth, which is
often neglected by other implementations. it's a bit weird (you
store a key on the server, which means you likely want to
create a new user for that purpose), but it works.

the wiki's been misbehaving the last few times i've tried; if it's
better, i'll document what i did there.

a


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 201 bytes --]

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

* Re: [9fans] exportfs / u9fs / v9fs / npfs / spfs versus 9vx
  2011-05-12 19:03     ` Daniel Lyons
  2011-05-12 19:11       ` Stanley Lieber
  2011-05-12 19:17       ` andrey mirtchovski
@ 2011-05-12 20:30       ` Bakul Shah
  2011-05-12 20:53         ` Daniel Lyons
  2011-05-12 23:45         ` Iruatã Souza
  2 siblings, 2 replies; 23+ messages in thread
From: Bakul Shah @ 2011-05-12 20:30 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Thu, 12 May 2011 14:03:13 CDT Daniel Lyons <fusion@storytotell.org>  wrote:
> On Thu, May 12, 2011 at 11:52:30AM -0700, Bakul Shah wrote:
> > On Thu, 12 May 2011 13:14:55 CDT Stanley Lieber <stanley.lieber@gmail.com>
>  wrote:
> > > http://plan9.bell-labs.com/sources/plan9/sys/src/cmd/unix/u9fs
> > >
> > > This is the basis of the OpenBSD port.
> >
> > unix/9pfreebsd is really too old to be useful but may be one
> > can start a new FreeBSD port from the openBSD bits?  I'd be
> > interested in such a thing.

I was thinking of a kernel port (mount_9ufs etc). My hopes
were briefly raised until I realized the openBSD port is not a
kernel port. Though I am not sure if a kernel port is worth it
(and it is certainly a bunch of work).



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

* Re: [9fans] exportfs / u9fs / v9fs / npfs / spfs versus 9vx
  2011-05-12 20:30       ` Bakul Shah
@ 2011-05-12 20:53         ` Daniel Lyons
  2011-05-12 23:45         ` Iruatã Souza
  1 sibling, 0 replies; 23+ messages in thread
From: Daniel Lyons @ 2011-05-12 20:53 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Thu, May 12, 2011 at 01:30:00PM -0700, Bakul Shah wrote:
> On Thu, 12 May 2011 14:03:13 CDT Daniel Lyons <fusion@storytotell.org>  wrote:
> > On Thu, May 12, 2011 at 11:52:30AM -0700, Bakul Shah wrote:
> > > On Thu, 12 May 2011 13:14:55 CDT Stanley Lieber <stanley.lieber@gmail.com>
> >  wrote:
> > > > http://plan9.bell-labs.com/sources/plan9/sys/src/cmd/unix/u9fs
> > > >
> > > > This is the basis of the OpenBSD port.
> > >
> > > unix/9pfreebsd is really too old to be useful but may be one
> > > can start a new FreeBSD port from the openBSD bits?  I'd be
> > > interested in such a thing.
>
> I was thinking of a kernel port (mount_9ufs etc). My hopes
> were briefly raised until I realized the openBSD port is not a
> kernel port. Though I am not sure if a kernel port is worth it
> (and it is certainly a bunch of work).

Wouldn't this be for mounting 9p *from* BSD, not exporting BSD's FS *to* 9p?

--
Daniel Lyons



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

* Re: [9fans] exportfs / u9fs / v9fs / npfs / spfs versus 9vx
  2011-05-12 19:58 ` Anthony Sorace
@ 2011-05-12 21:04   ` Steve Simon
  2011-05-12 22:33     ` Anthony Sorace
  2011-05-12 22:03   ` Charles Forsyth
  1 sibling, 1 reply; 23+ messages in thread
From: Steve Simon @ 2011-05-12 21:04 UTC (permalink / raw)
  To: 9fans

FYI

I put the OSX launchd ritual on the wiki a couple of years ago.

-Steve



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

* Re: [9fans] exportfs / u9fs / v9fs / npfs / spfs versus 9vx
  2011-05-12 19:58 ` Anthony Sorace
  2011-05-12 21:04   ` Steve Simon
@ 2011-05-12 22:03   ` Charles Forsyth
  1 sibling, 0 replies; 23+ messages in thread
From: Charles Forsyth @ 2011-05-12 22:03 UTC (permalink / raw)
  To: 9fans

i put a copy of u9fs in u9fs.googlecode.com



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

* Re: [9fans] exportfs / u9fs / v9fs / npfs / spfs versus 9vx
  2011-05-12 21:04   ` Steve Simon
@ 2011-05-12 22:33     ` Anthony Sorace
  2011-05-21  7:21       ` Steve Simon
  0 siblings, 1 reply; 23+ messages in thread
From: Anthony Sorace @ 2011-05-12 22:33 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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

On May 12, 2011, at 5:04 PM, Steve Simon wrote:

> I put the OSX launchd ritual on the wiki a couple of years ago.

and here it is:
	http://www.plan9.bell-labs.com/wiki/plan9/9pfs.plist/index.html

a

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 210 bytes --]

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

* Re: [9fans] exportfs / u9fs / v9fs / npfs / spfs versus 9vx
  2011-05-12 20:30       ` Bakul Shah
  2011-05-12 20:53         ` Daniel Lyons
@ 2011-05-12 23:45         ` Iruatã Souza
  2011-05-12 23:47           ` Iruatã Souza
  1 sibling, 1 reply; 23+ messages in thread
From: Iruatã Souza @ 2011-05-12 23:45 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Thu, May 12, 2011 at 5:30 PM, Bakul Shah <bakul@bitblocks.com> wrote:
> On Thu, 12 May 2011 14:03:13 CDT Daniel Lyons <fusion@storytotell.org>  wrote:
>> On Thu, May 12, 2011 at 11:52:30AM -0700, Bakul Shah wrote:
>> > On Thu, 12 May 2011 13:14:55 CDT Stanley Lieber <stanley.lieber@gmail.com>
>>  wrote:
>> > > http://plan9.bell-labs.com/sources/plan9/sys/src/cmd/unix/u9fs
>> > >
>> > > This is the basis of the OpenBSD port.
>> >
>> > unix/9pfreebsd is really too old to be useful but may be one
>> > can start a new FreeBSD port from the openBSD bits?  I'd be
>> > interested in such a thing.
>
> I was thinking of a kernel port (mount_9ufs etc). My hopes
> were briefly raised until I realized the openBSD port is not a
> kernel port. Though I am not sure if a kernel port is worth it
> (and it is certainly a bunch of work).
>
>

http://src.oitobits.net/o9fs. It is not finished, but was written for
the OpenBSD kernel.



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

* Re: [9fans] exportfs / u9fs / v9fs / npfs / spfs versus 9vx
  2011-05-12 23:45         ` Iruatã Souza
@ 2011-05-12 23:47           ` Iruatã Souza
  2011-05-16  6:48             ` Bakul Shah
  0 siblings, 1 reply; 23+ messages in thread
From: Iruatã Souza @ 2011-05-12 23:47 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Thu, May 12, 2011 at 8:45 PM, Iruatã Souza <iru.muzgo@gmail.com> wrote:
> On Thu, May 12, 2011 at 5:30 PM, Bakul Shah <bakul@bitblocks.com> wrote:
>> On Thu, 12 May 2011 14:03:13 CDT Daniel Lyons <fusion@storytotell.org>  wrote:
>>> On Thu, May 12, 2011 at 11:52:30AM -0700, Bakul Shah wrote:
>>> > On Thu, 12 May 2011 13:14:55 CDT Stanley Lieber <stanley.lieber@gmail.com>
>>>  wrote:
>>> > > http://plan9.bell-labs.com/sources/plan9/sys/src/cmd/unix/u9fs
>>> > >
>>> > > This is the basis of the OpenBSD port.
>>> >
>>> > unix/9pfreebsd is really too old to be useful but may be one
>>> > can start a new FreeBSD port from the openBSD bits?  I'd be
>>> > interested in such a thing.
>>
>> I was thinking of a kernel port (mount_9ufs etc). My hopes
>> were briefly raised until I realized the openBSD port is not a
>> kernel port. Though I am not sure if a kernel port is worth it
>> (and it is certainly a bunch of work).
>>
>>
>
> http://src.oitobits.net/o9fs. It is not finished, but was written for
> the OpenBSD kernel.
>

sorry, it moved to https://bitbucket.org/iru/o9fs



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

* Re: [9fans] exportfs / u9fs / v9fs / npfs / spfs versus 9vx
  2011-05-12 19:17       ` andrey mirtchovski
@ 2011-05-13 23:00         ` Daniel Lyons
  2011-05-14  2:47           ` andrey mirtchovski
                             ` (2 more replies)
  0 siblings, 3 replies; 23+ messages in thread
From: Daniel Lyons @ 2011-05-13 23:00 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Thu, May 12, 2011 at 01:17:41PM -0600, andrey mirtchovski wrote:
> > How are you guys using these tools?
>
> it's not the most sophisticated setup, but it works, at least for the
> stuff that i need. pycrypto is a prerequisite:

Have you had trouble getting to u9fs from 9vx? It seems to work from
p9p, but not from 9vx. Every connection to my machine times out, but
sources works.

--
Daniel Lyons



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

* Re: [9fans] exportfs / u9fs / v9fs / npfs / spfs versus 9vx
  2011-05-13 23:00         ` Daniel Lyons
@ 2011-05-14  2:47           ` andrey mirtchovski
  2011-05-14  6:02             ` Daniel Lyons
  2011-05-14  7:59           ` Charles Forsyth
  2011-05-16 16:22           ` Yaroslav
  2 siblings, 1 reply; 23+ messages in thread
From: andrey mirtchovski @ 2011-05-14  2:47 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> Have you had trouble getting to u9fs from 9vx? It seems to work from
> p9p, but not from 9vx. Every connection to my machine times out, but
> sources works.

i haven't used u9fs in a very long time. i'm normally talking to
synthetic file servers written using py9p or go9p. i periodically try
to ensure that py9p and go9p are still able to converse with plan9
mostly out of habit.



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

* Re: [9fans] exportfs / u9fs / v9fs / npfs / spfs versus 9vx
  2011-05-14  2:47           ` andrey mirtchovski
@ 2011-05-14  6:02             ` Daniel Lyons
  0 siblings, 0 replies; 23+ messages in thread
From: Daniel Lyons @ 2011-05-14  6:02 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs


On May 13, 2011, at 8:47 PM, andrey mirtchovski wrote:

>> Have you had trouble getting to u9fs from 9vx? It seems to work from
>> p9p, but not from 9vx. Every connection to my machine times out, but
>> sources works.
> 
> i haven't used u9fs in a very long time. i'm normally talking to
> synthetic file servers written using py9p or go9p. i periodically try
> to ensure that py9p and go9p are still able to converse with plan9
> mostly out of habit.

I'm also not having any luck with py9p. So, there seems to be something wonky between 9vx and my FreeBSD VPS. I can imagine two possibilities:

1. My VPS or hosting provider has some kind of obnoxious firewall between me and 9vx
2. 9vx has to be set up somehow to access it

The problem with #1 is that I can access it from p9p on the same machine as 9vx, and the problem with #2 is that I can access sources without any trouble.

Anybody know what I'm missing, or have a good idea how to debug it?

Thanks,

— 
Daniel Lyons




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

* Re: [9fans] exportfs / u9fs / v9fs / npfs / spfs versus 9vx
  2011-05-13 23:00         ` Daniel Lyons
  2011-05-14  2:47           ` andrey mirtchovski
@ 2011-05-14  7:59           ` Charles Forsyth
  2011-05-16 16:22           ` Yaroslav
  2 siblings, 0 replies; 23+ messages in thread
From: Charles Forsyth @ 2011-05-14  7:59 UTC (permalink / raw)
  To: 9fans

>Have you had trouble getting to u9fs from 9vx?

no. in 9vx:

term% 9fs biglin
term% ls /n/biglin
/n/biglin/bin
/n/biglin/boot
/n/biglin/cdrom
/n/biglin/dev
/n/biglin/etc
/n/biglin/home
/n/biglin/initrd.img
/n/biglin/lib
/n/biglin/lost+found
/n/biglin/media
/n/biglin/mnt
	...

biglin is a linux system (ubuntu 11.04) running u9fs.
that one's using authrhosts.

this one is a linux system on a remote virtual server
(kvm) running debian, and u9fs using authp9any:

term% 9fs dante
term% ls /n/dante
/n/dante/bin
/n/dante/boot
/n/dante/dev
/n/dante/etc
/n/dante/home
/n/dante/initrd
/n/dante/lib
/n/dante/lost+found
/n/dante/media
/n/dante/mnt
	...



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

* Re: [9fans] exportfs / u9fs / v9fs / npfs / spfs versus 9vx
  2011-05-12 23:47           ` Iruatã Souza
@ 2011-05-16  6:48             ` Bakul Shah
  2011-05-16 12:18               ` Iruatã Souza
  0 siblings, 1 reply; 23+ messages in thread
From: Bakul Shah @ 2011-05-16  6:48 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Thu, 12 May 2011 20:47:04 -0300 =?UTF-8?Q?Iruat=C3=A3_Souza?= <iru.muzgo@gmail.com>  wrote:
> On Thu, May 12, 2011 at 8:45 PM, Iruat=C3=A3 Souza <iru.muzgo@gmail.com> wr=
> ote:
> > On Thu, May 12, 2011 at 5:30 PM, Bakul Shah <bakul@bitblocks.com> wrote:
> >> On Thu, 12 May 2011 14:03:13 CDT Daniel Lyons <fusion@storytotell.org> =
> =C2=A0wrote:
> >>> On Thu, May 12, 2011 at 11:52:30AM -0700, Bakul Shah wrote:
> >>> > On Thu, 12 May 2011 13:14:55 CDT Stanley Lieber <stanley.lieber@gmail=
> .com>
> >>> =C2=A0wrote:
> >>> > > http://plan9.bell-labs.com/sources/plan9/sys/src/cmd/unix/u9fs
> >>> > >
> >>> > > This is the basis of the OpenBSD port.
> >>> >
> >>> > unix/9pfreebsd is really too old to be useful but may be one
> >>> > can start a new FreeBSD port from the openBSD bits? =C2=A0I'd be
> >>> > interested in such a thing.
> >>
> >> I was thinking of a kernel port (mount_9ufs etc). My hopes
> >> were briefly raised until I realized the openBSD port is not a
> >> kernel port. Though I am not sure if a kernel port is worth it
> >> (and it is certainly a bunch of work).
> >>
> >>
> >
> > http://src.oitobits.net/o9fs. It is not finished, but was written for
> > the OpenBSD kernel.
> >
>
> sorry, it moved to https://bitbucket.org/iru/o9fs

Cloned! Not sure when I will have time to play with this but
is the TODO file uptodate? Thanks.

On Thu, 12 May 2011 15:53:15 CDT Daniel Lyons <fusion@storytotell.org>  wrote:
> Wouldn't this be for mounting 9p *from* BSD, not exporting BSD's FS *to* 9p?

Yes.



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

* Re: [9fans] exportfs / u9fs / v9fs / npfs / spfs versus 9vx
  2011-05-16  6:48             ` Bakul Shah
@ 2011-05-16 12:18               ` Iruatã Souza
  0 siblings, 0 replies; 23+ messages in thread
From: Iruatã Souza @ 2011-05-16 12:18 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Mon, May 16, 2011 at 3:48 AM, Bakul Shah <bakul@bitblocks.com> wrote:
> On Thu, 12 May 2011 20:47:04 -0300 =?UTF-8?Q?Iruat=C3=A3_Souza?= <iru.muzgo@gmail.com>  wrote:
>> On Thu, May 12, 2011 at 8:45 PM, Iruat=C3=A3 Souza <iru.muzgo@gmail.com> wr=
>> ote:
>> > On Thu, May 12, 2011 at 5:30 PM, Bakul Shah <bakul@bitblocks.com> wrote:
>> >> On Thu, 12 May 2011 14:03:13 CDT Daniel Lyons <fusion@storytotell.org> =
>> =C2=A0wrote:
>> >>> On Thu, May 12, 2011 at 11:52:30AM -0700, Bakul Shah wrote:
>> >>> > On Thu, 12 May 2011 13:14:55 CDT Stanley Lieber <stanley.lieber@gmail=
>> .com>
>> >>> =C2=A0wrote:
>> >>> > > http://plan9.bell-labs.com/sources/plan9/sys/src/cmd/unix/u9fs
>> >>> > >
>> >>> > > This is the basis of the OpenBSD port.
>> >>> >
>> >>> > unix/9pfreebsd is really too old to be useful but may be one
>> >>> > can start a new FreeBSD port from the openBSD bits? =C2=A0I'd be
>> >>> > interested in such a thing.
>> >>
>> >> I was thinking of a kernel port (mount_9ufs etc). My hopes
>> >> were briefly raised until I realized the openBSD port is not a
>> >> kernel port. Though I am not sure if a kernel port is worth it
>> >> (and it is certainly a bunch of work).
>> >>
>> >>
>> >
>> > http://src.oitobits.net/o9fs. It is not finished, but was written for
>> > the OpenBSD kernel.
>> >
>>
>> sorry, it moved to https://bitbucket.org/iru/o9fs
>
> Cloned! Not sure when I will have time to play with this but
> is the TODO file uptodate? Thanks.
>

Mostly, I guess. If you are willing to hack on it, I can take a look
and update it for you.

> On Thu, 12 May 2011 15:53:15 CDT Daniel Lyons <fusion@storytotell.org>  wrote:
>> Wouldn't this be for mounting 9p *from* BSD, not exporting BSD's FS *to* 9p?
>
> Yes.
>
>



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

* Re: [9fans] exportfs / u9fs / v9fs / npfs / spfs versus 9vx
  2011-05-13 23:00         ` Daniel Lyons
  2011-05-14  2:47           ` andrey mirtchovski
  2011-05-14  7:59           ` Charles Forsyth
@ 2011-05-16 16:22           ` Yaroslav
  2 siblings, 0 replies; 23+ messages in thread
From: Yaroslav @ 2011-05-16 16:22 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> Have you had trouble getting to u9fs from 9vx?

Works for me: I use it with over SSH1 channel to mount AIX and Linux files.
Excerpt from /rc/bin/9fs:

case $aixsystems
	srvssh -r -u bin/AIX/u9fs $1 $1.$user /n/$1
	chmod 600 /srv/$1.$user
case $linuxsystems
	srvssh -r -u bin/Linux/u9fs $1 $1.$user /n/$1
	chmod 600 /srv/$1.$user



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

* Re: [9fans] exportfs / u9fs / v9fs / npfs / spfs versus 9vx
  2011-05-12 22:33     ` Anthony Sorace
@ 2011-05-21  7:21       ` Steve Simon
  0 siblings, 0 replies; 23+ messages in thread
From: Steve Simon @ 2011-05-21  7:21 UTC (permalink / raw)
  To: 9fans

> > I put the OSX launchd ritual on the wiki a couple of years ago.
>
> and here it is:
>	http://www.plan9.bell-labs.com/wiki/plan9/9pfs.plist/index.html

Ugh, that has been throughly eaten by the wiki formatting,
I think this is the bit I added:

http://www.plan9.bell-labs.com/wiki/plan9/Integration_with_other_OSs/index.html

-Steve



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

end of thread, other threads:[~2011-05-21  7:21 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-12 16:49 [9fans] exportfs / u9fs / v9fs / npfs / spfs versus 9vx Daniel Lyons
2011-05-12 18:13 ` Lyndon Nerenberg
2011-05-12 18:14 ` Stanley Lieber
2011-05-12 18:52   ` Bakul Shah
2011-05-12 19:03     ` Daniel Lyons
2011-05-12 19:11       ` Stanley Lieber
2011-05-12 19:17       ` andrey mirtchovski
2011-05-13 23:00         ` Daniel Lyons
2011-05-14  2:47           ` andrey mirtchovski
2011-05-14  6:02             ` Daniel Lyons
2011-05-14  7:59           ` Charles Forsyth
2011-05-16 16:22           ` Yaroslav
2011-05-12 20:30       ` Bakul Shah
2011-05-12 20:53         ` Daniel Lyons
2011-05-12 23:45         ` Iruatã Souza
2011-05-12 23:47           ` Iruatã Souza
2011-05-16  6:48             ` Bakul Shah
2011-05-16 12:18               ` Iruatã Souza
2011-05-12 19:58 ` Anthony Sorace
2011-05-12 21:04   ` Steve Simon
2011-05-12 22:33     ` Anthony Sorace
2011-05-21  7:21       ` Steve Simon
2011-05-12 22:03   ` Charles Forsyth

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