Re: [9fans] Configuring NFS

2010-02-12 Thread geoff
nfsserver only serves NFS version 2 and not all clients are smart enough to try multiple NFS versions, so you may have to specify it, typically like this (in /etc/fstab): nfs:/ /n/9nfs nfsvers=2,proto=udp,user,bg,intr or as a command: mount -o bg,intr,-2 thinktank:think

Re: [9fans] Configuring NFS

2010-02-12 Thread Fernan Bolando
On Tue, Jun 2, 2009 at 5:30 PM, John Floren wrote: > Has anyone here successfully set up nfsserver to share Plan 9 files > with Unix machines? The examples given in the man pages are rather... > opaque. All I want to do is share one directory tree (/lib/music, in > particular) with a number of ind

Re: [9fans] Configuring NFS

2009-06-10 Thread Ethan Grammatikidis
On Tue, 09 Jun 2009 09:48:31 -0700 Roman V Shaposhnik wrote: > > I have very little experience working with the in-kernel support for > 9P. Somehow 9P and being a superuser feel mutually exclusive to me. Pick a task, any task. Toss a coin. If the coin lands heads up, a program to accomplish said

Re: [9fans] Configuring NFS

2009-06-09 Thread J.R. Mauro
On Tue, Jun 9, 2009 at 12:48 PM, Roman V Shaposhnik wrote: > Hi John, > > it took me sometime to go through the old backups but it seems > that the NFS setup is gone by now. You can still ask questions, > if you want to, but I won't be able to send you all the working > conf. files. > > On Tue, 200

Re: [9fans] Configuring NFS

2009-06-09 Thread Roman V Shaposhnik
Hi John, it took me sometime to go through the old backups but it seems that the NFS setup is gone by now. You can still ask questions, if you want to, but I won't be able to send you all the working conf. files. On Tue, 2009-06-02 at 11:34 -0700, John Floren wrote: > I'd like to use the 9p mount

Re: [9fans] Configuring NFS

2009-06-02 Thread J.R. Mauro
On Tue, Jun 2, 2009 at 2:34 PM, John Floren wrote: > On Tue, Jun 2, 2009 at 11:19 AM, Roman V. Shaposhnik wrote: >> On Tue, 2009-06-02 at 11:03 -0700, John Floren wrote: >>> On Tue, Jun 2, 2009 at 10:35 AM, Roman V. Shaposhnik wrote: >>> > On Tue, 2009-06-02 at 10:30 -0700, John Floren wrote: >>

Re: [9fans] Configuring NFS

2009-06-02 Thread Anthony Sorace
for the "from anywhere" part, just use .+ as the host regexp. the "anyone" part also doesn't really apply: the files don't affect who can connect or read things, just what the mapping is done as (iirc, world readable is still world readable). if you just want to not bother with the passwd and group

Re: [9fans] Configuring NFS

2009-06-02 Thread John Floren
On Tue, Jun 2, 2009 at 4:41 PM, Anthony Sorace wrote: > map between the numeric IDs reported by nfs and strings plan9 uses for uids. > > What if I want to just allow anyone to mount the share, from anywhere? John -- "I've tried programming Ruby on Rails, following TechCrunch in my RSS reader, a

Re: [9fans] Configuring NFS

2009-06-02 Thread Anthony Sorace
map between the numeric IDs reported by nfs and strings plan9 uses for uids.

Re: [9fans] Configuring NFS

2009-06-02 Thread John Floren
On Tue, Jun 2, 2009 at 4:22 PM, Anthony Sorace wrote: > "none" does not (normally) give you read-only access; if something is > world-writable, none will be able to write it. but getting read-only > is pretty easy; see exportfs(4) and the files which use it in > /rc/bin/service. from emory, i'd sa

Re: [9fans] Configuring NFS

2009-06-02 Thread Anthony Sorace
"none" does not (normally) give you read-only access; if something is world-writable, none will be able to write it. but getting read-only is pretty easy; see exportfs(4) and the files which use it in /rc/bin/service. from emory, i'd say "exec /bin/exportfs -Rr /lib/music" would do what you want.

Re: [9fans] Configuring NFS

2009-06-02 Thread John Floren
On Tue, Jun 2, 2009 at 11:49 AM, Eric Van Hensbergen wrote: > On Tue, Jun 2, 2009 at 1:34 PM, John Floren wrote: >> >> I'd like to use the 9p mounting available in Linux, but it doesn't >> seem to work in this case. >> I try "mount -t 9p glenda /mnt" (glenda is my cpu/file server) and get: >> moun

Re: [9fans] Configuring NFS

2009-06-02 Thread Eric Van Hensbergen
On Tue, Jun 2, 2009 at 1:34 PM, John Floren wrote: > > I'd like to use the 9p mounting available in Linux, but it doesn't > seem to work in this case. > I try "mount -t 9p glenda /mnt" (glenda is my cpu/file server) and get: > mount: wrong fs type, bad option, bad superblock on glenda, >       miss

Re: [9fans] Configuring NFS

2009-06-02 Thread John Floren
On Tue, Jun 2, 2009 at 11:19 AM, Roman V. Shaposhnik wrote: > On Tue, 2009-06-02 at 11:03 -0700, John Floren wrote: >> On Tue, Jun 2, 2009 at 10:35 AM, Roman V. Shaposhnik wrote: >> > On Tue, 2009-06-02 at 10:30 -0700, John Floren wrote: >> >> Has anyone here successfully set up nfsserver to shar

Re: [9fans] Configuring NFS

2009-06-02 Thread Roman V. Shaposhnik
On Tue, 2009-06-02 at 11:03 -0700, John Floren wrote: > On Tue, Jun 2, 2009 at 10:35 AM, Roman V. Shaposhnik wrote: > > On Tue, 2009-06-02 at 10:30 -0700, John Floren wrote: > >> Has anyone here successfully set up nfsserver to share Plan 9 files > >> with Unix machines? The examples given in the

Re: [9fans] Configuring NFS

2009-06-02 Thread Steve Simon
> I'm looking into NFS because it seems that it has about the lowest > barrier to entry of all the possible file-sharing methods. Any other > suggestions would be appreciated. I use aquarela to serve cifs to windows boxen but NFS seems preferable given your clients are Linux. -Steve

Re: [9fans] Configuring NFS

2009-06-02 Thread John Floren
On Tue, Jun 2, 2009 at 10:35 AM, Roman V. Shaposhnik wrote: > On Tue, 2009-06-02 at 10:30 -0700, John Floren wrote: >> Has anyone here successfully set up nfsserver to share Plan 9 files >> with Unix machines? The examples given in the man pages are rather... >> opaque. All I want to do is share o

Re: [9fans] Configuring NFS

2009-06-02 Thread Roman V. Shaposhnik
On Tue, 2009-06-02 at 10:30 -0700, John Floren wrote: > Has anyone here successfully set up nfsserver to share Plan 9 files > with Unix machines? The examples given in the man pages are rather... > opaque. All I want to do is share one directory tree (/lib/music, in > particular) with a number of i

[9fans] Configuring NFS

2009-06-02 Thread John Floren
Has anyone here successfully set up nfsserver to share Plan 9 files with Unix machines? The examples given in the man pages are rather... opaque. All I want to do is share one directory tree (/lib/music, in particular) with a number of independent Linux laptops and workstations. I'm looking into N