From owner-freebsd-current Mon Aug 2 0:50:43 1999 Delivered-To: freebsd-current@freebsd.org Received: from metriclient-1.uoregon.edu (metriclient-1.uoregon.edu [128.223.172.1]) by hub.freebsd.org (Postfix) with ESMTP id 28EC014F04 for ; Mon, 2 Aug 1999 00:50:37 -0700 (PDT) (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by metriclient-1.uoregon.edu (8.9.1/8.8.7) id AAA21168; Mon, 2 Aug 1999 00:50:14 -0700 (PDT) Message-ID: <19990802005014.12408@hydrogen.fircrest.net> Date: Mon, 2 Aug 1999 00:50:14 -0700 From: John-Mark Gurney To: Matthew Dillon Cc: Kevin Day , freebsd-current@FreeBSD.ORG Subject: Re: mountpoint locking with fbsd-nfs References: <199908020408.XAA76817@celery.dragondata.com> <199908020412.VAA08088@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: <199908020412.VAA08088@apollo.backplane.com>; from Matthew Dillon on Sun, Aug 01, 1999 at 09:12:03PM -0700 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 3.0-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 that I wasn't missing a way to do this. :) > > 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? do you guys ever read the man page?? read the following about 10 times... it is hard to understand, but make sure you know what it says, not what you THINK is says... this is from exports(5): A host may be specified only once for each local filesystem on the server and there may be only one default en- try for each server filesystem that applies to all other hosts. The lat- ter exports the filesystem to the ``world'' and should be used only when the filesystem contains public information. so, if you want to export /var and /var/tmp both on the same file system to the same host, it would be: /var /var/tmp somehost because of this, I organize my /etc/exports file by file system and then by host... so I do stuff like: #all of my /usr exports /usr /usr/local hosta /usr /usr/X11R6 hostb /usr/local -ro #all of my /a exports /a hostc /a /a/datadir hostd -- John-Mark Gurney Voice: +1 541 684 8449 Cu Networking P.O. Box 5693, 97405 "The soul contains in itself the event that shall presently befall it. The event is only the actualizing of its thought." -- Ralph Waldo Emerson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message