From owner-freebsd-questions Mon Feb 3 23:35:17 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA24847 for questions-outgoing; Mon, 3 Feb 1997 23:35:17 -0800 (PST) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA24836 for ; Mon, 3 Feb 1997 23:35:15 -0800 (PST) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.4/8.6.12) with SMTP id XAA15230; Mon, 3 Feb 1997 23:33:40 -0800 (PST) Date: Mon, 3 Feb 1997 23:33:40 -0800 (PST) From: Doug White X-Sender: dwhite@localhost Reply-To: Doug White To: Marty Leisner cc: Andre Albsmeier , freebsd-questions@freebsd.org Subject: Re: How to export directory with subdirs In-Reply-To: <9702032010.AA23238@gnu.sdsp.mc.xerox.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Mon, 3 Feb 1997, Marty Leisner wrote: > I like the way the linux nfs server allows you to export / and you're > done...(at home, I don't care about security). Everything is exported. > > > Is there a way to do the equivalent with freebsd? I don't think mounts are allowed to traverse mountpoints. Have you actually tried just exporting / -alldirs and seeing if everything below it is available? This is the (butchered) quote from the exports(5) manpage regarding -alldirs: The second is to specify the pathname of the root of the filesys- tem followed by the -alldirs flag; this form allows the host(s) to mount at any point within the filesystem, including regular files if the ``-r'' option is used on mountd. The pathnames must not have any symbolic links in them and should not have any "." or ".." components. Mount points for a filesystem may appear on multiple lines each with different sets of hosts and export options. Hope this helps. I wish I knew more about NFS mounting; perhaps another can fill in the intimiate details. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major