From owner-freebsd-current Sun Aug 1 21: 8:35 1999 Delivered-To: freebsd-current@freebsd.org Received: from celery.dragondata.com (celery.dragondata.com [205.253.12.6]) by hub.freebsd.org (Postfix) with ESMTP id D3BA714E9F for ; Sun, 1 Aug 1999 21:08:30 -0700 (PDT) (envelope-from toasty@celery.dragondata.com) Received: (from toasty@localhost) by celery.dragondata.com (8.9.3/8.9.3) id XAA76817; Sun, 1 Aug 1999 23:08:16 -0500 (CDT) (envelope-from toasty) From: Kevin Day Message-Id: <199908020408.XAA76817@celery.dragondata.com> Subject: Re: mountpoint locking with fbsd-nfs To: dillon@apollo.backplane.com (Matthew Dillon) Date: Sun, 1 Aug 1999 23:08:16 -0500 (CDT) Cc: toasty@dragondata.com (Kevin Day), blapp@attic.ch (Martin Blapp), freebsd-current@FreeBSD.ORG In-Reply-To: <199908020357.UAA07543@apollo.backplane.com> from "Matthew Dillon" at Aug 01, 1999 08:57:30 PM X-Mailer: ELM [version 2.5 PL1] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > 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