From owner-freebsd-questions Tue Feb 4 22:54:17 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA08347 for questions-outgoing; Tue, 4 Feb 1997 22:54:17 -0800 (PST) Received: from david.siemens.de (david.siemens.de [146.254.1.1]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id WAA08335 for ; Tue, 4 Feb 1997 22:54:14 -0800 (PST) Received: from salomon.mchp.siemens.de (salomon.mchp.siemens.de [139.23.33.13]) by david.siemens.de (8.8.5/8.8.0) with ESMTP id HAA28793 for ; Wed, 5 Feb 1997 07:49:55 +0100 (MET) Received: from curry.mchp.siemens.de (daemon@curry.mchp.siemens.de [146.180.31.23]) by salomon.mchp.siemens.de (8.8.4/8.8.4) with ESMTP id HAA10690 for ; Wed, 5 Feb 1997 07:54:10 +0100 (MET) Received: (from daemon@localhost) by curry.mchp.siemens.de (8.8.5/8.8.5) id HAA07287 for ; Wed, 5 Feb 1997 07:54:08 +0100 (MET) From: Andre Albsmeier Message-Id: <199702050654.HAA01747@server.us.tld> Subject: Re: How to export directory with subdirs In-Reply-To: from Doug White at "Feb 4, 97 10:28:21 am" To: dwhite@resnet.uoregon.edu Date: Wed, 5 Feb 1997 07:54:03 +0100 (MET) Cc: freebsd-questions@freebsd.org X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > What I want to do is > > > > mount server:/var/spool/pcnfs/hostx /anywhere > > > > without changing /etc/exports. > > Let me correct this to > > /var/spool/pcnfs -alldirs > > That may more closely match the desired behavior, based on what I can > glean from the exports(5) manpage. That's what I have thought also. But this line gives me: Feb 5 07:45:22 3D:bali mountd[5759]: Could not remount /var/spool/pcnfs: Invalid argument Feb 5 07:45:22 3D:bali mountd[5759]: Bad exports list line /var/spool/pcnfs -alldirs And when reading the manual page: pace. 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 I have to specify the root of the filesystem. So I would have to use /var -alldirs which is NOT what I want. The PCs should not be able to mount the whole /var FS. -Andre