From owner-freebsd-questions Thu Jul 24 05:23:27 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id FAA25083 for questions-outgoing; Thu, 24 Jul 1997 05:23:27 -0700 (PDT) Received: from david.siemens.de (david.siemens.de [139.23.36.11]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA25078 for ; Thu, 24 Jul 1997 05:23:23 -0700 (PDT) Received: from salomon.mchp.siemens.de (salomon.siemens.de [139.23.33.13]) by david.siemens.de (8.8.6/8.8.5) with ESMTP id OAA25882 for ; Thu, 24 Jul 1997 14:23:19 +0200 (MDT) Received: from curry.mchp.siemens.de (daemon@curry.mchp.siemens.de [146.180.31.23]) by salomon.mchp.siemens.de (8.8.6/8.8.5) with ESMTP id OAA00972 for ; Thu, 24 Jul 1997 14:23:19 +0200 (MDT) Received: (from daemon@localhost) by curry.mchp.siemens.de (8.8.6/8.8.6) id OAA27162 for ; Thu, 24 Jul 1997 14:23:17 +0200 (MET DST) From: Andre Albsmeier Message-Id: <199707241223.OAA02231@curry.mchp.siemens.de> Subject: Re: Problem with /etc/exports "-alldirs" In-Reply-To: <199707240331.UAA07637@fraser> from Kevin McQuiggin at "Jul 23, 97 08:31:56 pm" To: mcquiggi@sfu.ca (Kevin McQuiggin) Date: Thu, 24 Jul 1997 14:23:13 +0200 (CEST) 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-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Hi All: > > Please reply by email as well as posting to the group! > > I'm having a dumb problem with mountd. Here's my /etc/exports file: > > /usr/netboot/netbsd -alldirs -maproot=root gort.rfnet.sfu.ca > > When I run "mountd -r" I see the following on the console: > > Jul 23 20:26:18 pokey mountd[368]: Could not remount > /usr/netboot/netbsd: Invalid argument > Jul 23 20:26:18 pokey mountd[368]: Bad exports list line > /usr/netboot/netbsd -alldirs -maproot Is /usr/netboot/netbsd the root of a filesystem? -alldirs is only possible for the root of a filesystem. However, this annoyed me so much, that I have hacked mountd so that -alldirs applies always and works also if the exported mount point is not the root of a filesystem. I need this, because I have to export /var/spool/pcnfs and all of its subdirectories and don't want to make it a filesystem of its own... I don't know why this is different in FreeBSD, but now it works as I know it from IRIX 5.3, SunOS 4.1.3, Linux :-), HP-UX 9 and HP-UX 10. -Andre