Subject: Re: mountd notes
To: Marek Kozubal <marek@portents.com>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: port-mac68k
Date: 05/24/2000 20:04:42
At 3:54 Uhr +0200 24.5.2000, Marek Kozubal wrote:
>I am using NetBSD 1.4.1 and have an exported path of /home.

Is that the only export?

>When I add to /etc/exports the flag "-alldirs" so that you can mount stuff
>within /home w/o specifically listing everything I get the following
>error in /var/log/messages:
>
>May 23 21:21:27 portents mountd[230]: "/home -alldirs -network 10.0.0
>-mask 255.255.255.0", line 1: Could not remount /home: Invalid argument
>
>now if I removed the -alldirs option it works fine but doesnt let me mount
>within the mount points.  If you read the man page for exports(5) it
>specifically mentions the -alldirs flag, but mountd doesnt wanna support
>it.

Welcome to what I feel is the ugliest daemon in the NetBSD distribution...

Some random experiences:

o You cannot export points with differing credentials
(user/group/netmask/...) from one filesystem
o error messages are meaningless or misleading
o even 'mountd -d' spits half of the error messages to syslog instead of stderr

I've literally wasted days on this bastard.  =8(

Try and err, and good luck to you...

	hauke


--
"It's never straight up and down"     (DEVO)