From owner-freebsd-stable Sat May 8 10:50: 8 1999 Delivered-To: freebsd-stable@freebsd.org Received: from quackerjack.cc.vt.edu (quackerjack.cc.vt.edu [198.82.160.250]) by hub.freebsd.org (Postfix) with ESMTP id 95FEF150DA for ; Sat, 8 May 1999 10:50:05 -0700 (PDT) (envelope-from jobaldwi@vt.edu) Received: from sable.cc.vt.edu (sable.cc.vt.edu [128.173.16.30]) by quackerjack.cc.vt.edu (8.8.8/8.8.8) with ESMTP id NAA19232; Sat, 8 May 1999 13:50:04 -0400 (EDT) Received: from john.baldwin.cx (jobaldwi.campus.vt.edu [198.82.67.63]) by sable.cc.vt.edu (8.8.8/8.8.8) with ESMTP id NAA01086; Sat, 8 May 1999 13:50:04 -0400 (EDT) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <3733E063.3C0132FD@bitey.cyber.com.au> Date: Sat, 08 May 1999 13:50:05 -0400 (EDT) From: John Baldwin To: tetragon@cyber.com.au Subject: RE: NFS question.. Cc: freebsd-stable@freebsd.org Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG You can give a list of directories to be exported, but all directories for a filesystem must be on the same line (because it's really just a property of the filesystem are exporting that only certain directories can be exported). Here's an excerpt from my server's /etc/exports that might help: /usr \ /usr/source/src \ /usr/obj \ /usr/source/ports \ /usr/source/doc -maproot=0 foo All of these directories are in the filesystem /usr, and the computer foo can only mount /usr, /usr/source/src, /usr/obj, /usr/source/ports, and /usr/source/doc. It can't mount anything else in the /usr filesystem. HTH. On 08-May-99 Gavan McCormack wrote: > > > Sorry if this is not apropos for STABLE. > > I am running 3.1-STABLE, and wish to NFS export the _directory_ /usr/home. > > Currently, my /var and /usr are directories under /, I dont have a seperate > /usr partition. I want to export /usr/home, but do NOT want to have to > export /. > > According to my 4.4BSD SMM "...the kernel information is stored on a per > local file system mount point and client host address basis and cannot > refer to individiual directories within the local server filesystem." > > THis makes sense. I can export /, but not /usr/home. With the -alldirs in > the exports line I can mount only /usr/home on the remote machine, but there > is nothing to stop anyone with appropriate permissions on the remote host > to mount / and go through my filesystem. > > Has this been changed in FreeBSD 3.1-STABLE? Or do I have to live with only > being able to export whole filesystems? > -- > ________________________________________________________________________ > Gavan A. McCormack - tetragon@cyber.com.au - tetragon@bitey.net > Cybersource P/L. TCPIP network management & Unix system administration. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message --- John Baldwin -- http://members.freedomnet.com/~jbaldwin/ PGP Key: http://members.freedomnet.com/~jbaldwin/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message