Re: mountpoint locking with fbsd-nfs

1999-08-02 Thread Alfred Perlstein
On Sun, 1 Aug 1999, Kevin Day wrote: > > > > :Yeah, I know about -alldirs... The problem was that we had customers who > > :wanted us to export their home directories, and unless I gave them their own > > :filesystem, I couldn't restrict it in the manner i wanted. :) > > : > > :Just checking to

Re: mountpoint locking with fbsd-nfs

1999-08-01 Thread John-Mark Gurney
Matthew Dillon scribbled this message on Aug 1: > :Yeah, I know about -alldirs... The problem was that we had customers who > :wanted us to export their home directories, and unless I gave them their own > :filesystem, I couldn't restrict it in the manner i wanted. :) > : > :Just checking to see t

Re: mountpoint locking with fbsd-nfs

1999-08-01 Thread Martin Blapp
On Sun, 1 Aug 1999, Matthew Dillon wrote: > Well, theoretically there is nothing wrong going on since you can mount > things on top of an NFS directory. Mount only complains about > duplicate normal partition mounts because it can't open the buffered > block device the second t

Re: mountpoint locking with fbsd-nfs

1999-08-01 Thread Kevin Day
> > :Yeah, I know about -alldirs... The problem was that we had customers who > :wanted us to export their home directories, and unless I gave them their own > :filesystem, I couldn't restrict it in the manner i wanted. :) > : > :Just checking to see that I wasn't missing a way to do this. :) > :

Re: mountpoint locking with fbsd-nfs

1999-08-01 Thread David E. Cross
> IIRC, mount permissions (i.e., what IP addresses, root UID mangling, etc) > are set per filesystem. Given a filesystem structure like this: > > > df > Filesystem 1K-blocks UsedAvail Capacity Mounted on > /dev/da0s1a127023271518971123%/ > /dev/ccd0c8321099 23

Re: mountpoint locking with fbsd-nfs

1999-08-01 Thread Matthew Dillon
:Yeah, I know about -alldirs... The problem was that we had customers who :wanted us to export their home directories, and unless I gave them their own :filesystem, I couldn't restrict it in the manner i wanted. :) : :Just checking to see that I wasn't missing a way to do this. :) : :Kevin I'

Re: mountpoint locking with fbsd-nfs

1999-08-01 Thread Kevin Day
> > You misunderstood me. The problem you have is the fact that NFS exports > are usually limited to the physical mount point of the filesystem being > exported. Thus it thinks that /var above is the same as /, or that > /var/tmp is the same as /var if both happen to be in the

Re: mountpoint locking with fbsd-nfs

1999-08-01 Thread Jason Young
IIRC, mount permissions (i.e., what IP addresses, root UID mangling, etc) are set per filesystem. Given a filesystem structure like this: > df Filesystem 1K-blocks UsedAvail Capacity Mounted on /dev/da0s1a127023271518971123%/ /dev/ccd0c8321099 2391764 526364

Re: mountpoint locking with fbsd-nfs

1999-08-01 Thread Matthew Dillon
:You sure about you can export a directory multiple times? I can't even :export two directories under the same filesystem. : :su-2.03# mount :/dev/wd0s1a on / (NFS exported, local, noatime, soft-updates, writes: sync 3945 async :1317317) :procfs on /proc (local) :su-2.03# cat /etc/exports : :/var

Re: mountpoint locking with fbsd-nfs

1999-08-01 Thread Kevin Day
> > To export a single filesystem multiple times, *all* of the attributes must > be the same. If they aren't the only person you are fooling is yourself, > since once a filesystem is NFS exported, it is open to the world. > > anyway the syntax for what you want is: > > /var /var/mails

Re: mountpoint locking with fbsd-nfs

1999-08-01 Thread David E. Cross
To export a single filesystem multiple times, *all* of the attributes must be the same. If they aren't the only person you are fooling is yourself, since once a filesystem is NFS exported, it is open to the world. anyway the syntax for what you want is: /var /var/mail some.machine -- David C

Re: mountpoint locking with fbsd-nfs

1999-08-01 Thread Kevin Day
> Well, theoretically there is nothing wrong going on since you can mount > things on top of an NFS directory. Mount only complains about > duplicate normal partition mounts because it can't open the buffered > block device the second time. NFS doesn't care how many times a >

Re: mountpoint locking with fbsd-nfs

1999-08-01 Thread Matthew Dillon
:I'm a little bit astonished that's now possible to mount via nfs :several times at the same mountpoint with freebsd nfs clients: : :normal behaviour (Linux 2.2, Solaris): :-- : :magma:/ # mount magma:/cdrom /mnt :magma:/ # mount magma:/cdrom /mnt :mount: magma:

mountpoint locking with fbsd-nfs

1999-08-01 Thread Martin Blapp
I'm a little bit astonished that's now possible to mount via nfs several times at the same mountpoint with freebsd nfs clients: normal behaviour (Linux 2.2, Solaris): -- magma:/ # mount magma:/cdrom /mnt magma:/ # mount magma:/cdrom /mnt mount: magma:/cdrom a