From owner-freebsd-current Sun Aug 1 21:23:18 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 2A2AA14BC9 for ; Sun, 1 Aug 1999 21:23:14 -0700 (PDT) (envelope-from toasty@celery.dragondata.com) Received: (from toasty@localhost) by celery.dragondata.com (8.9.3/8.9.3) id XAA95716; Sun, 1 Aug 1999 23:23:12 -0500 (CDT) (envelope-from toasty) From: Kevin Day Message-Id: <199908020423.XAA95716@celery.dragondata.com> Subject: Re: mountpoint locking with fbsd-nfs To: dillon@apollo.backplane.com (Matthew Dillon) Date: Sun, 1 Aug 1999 23:23:12 -0500 (CDT) Cc: toasty@dragondata.com (Kevin Day), blapp@attic.ch (Martin Blapp), freebsd-current@FreeBSD.ORG In-Reply-To: <199908020412.VAA08088@apollo.backplane.com> from "Matthew Dillon" at Aug 01, 1999 09:12:03 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 > > :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've never in my life tried this - it probably won't work, but ... > use the null device maybe to create a mount point for each home > dir and then export that? > I think it sees through this. su-2.03# cat /etc/exports /var home /mnt home su-2.03# mount /dev/wd0s1a on / (NFS exported, local, noatime, soft-updates, writes: sync 3970 async 1321097) procfs on /proc (local) nfs:/home on /usr/home (noatime) nfs:/var/mail on /var/mail (noatime) /var/tmp on /mnt (local) su-2.03# mountd Aug 1 23:17:48 celery mountd[89177]: can't change attributes for /mnt That was a very good idea though, i'd never have thought of it. :) I'll have to play with this more. :) Kevin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message