Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jul 1997 14:23:13 +0200 (CEST)
From:      Andre Albsmeier <Andre.Albsmeier@mchp.siemens.de>
To:        mcquiggi@sfu.ca (Kevin McQuiggin)
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Problem with /etc/exports "-alldirs"
Message-ID:  <199707241223.OAA02231@curry.mchp.siemens.de>
In-Reply-To: <199707240331.UAA07637@fraser> from Kevin McQuiggin at "Jul 23, 97 08:31:56 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707241223.OAA02231>