Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Aug 1999 23:08:16 -0500 (CDT)
From:      Kevin Day <toasty@dragondata.com>
To:        dillon@apollo.backplane.com (Matthew Dillon)
Cc:        toasty@dragondata.com (Kevin Day), blapp@attic.ch (Martin Blapp), freebsd-current@FreeBSD.ORG
Subject:   Re: mountpoint locking with fbsd-nfs
Message-ID:  <199908020408.XAA76817@celery.dragondata.com>
In-Reply-To: <199908020357.UAA07543@apollo.backplane.com> from "Matthew Dillon" at Aug 01, 1999 08:57:30 PM

next in thread | previous in thread | raw e-mail | index | archive | help
> 
>     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 same partition.
>     Mount gets confused by that when you specify what it believes to be the
>     same partition several times in the exports list.
> 
>     You can use the '-alldirs' flag in the exports list to export a partition
>     and allow any subdirectory within that partition to be mounted instead of
>     the partition itself.  There may be a way to export several specific
>     subdirectories in the same partition but I'm not sure.
> 
>     I was talking about things like:
> 
> 	mount apollo:/usr	m1
> 	mount apollo:/usr	m2
> 	mount apollo:/usr	m3
> 	mount apollo:/usr	m3
> 	mount apollo:/usr	m3
> 
>     I can import a filesystem as many times as I want, and even overlay mount
>     points.
> 

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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908020408.XAA76817>