Subject: export(5) options, was: It works!
To: Benjamin Walkenhorst <>
From: Hauke Fath <>
List: netbsd-users
Date: 11/23/2004 09:34:36
On Mon, 22 Nov 2004 19:14:38 +0100 Benjamin Walkenhorst wrote:

> Then it turned out that NFS wasn't working properly if configured as=20
> stated in the HOWTO.
> When my /etc/exports looked as shown in the HOWTO, with paths
> adjusted, I got the following error:
> Nov 20 21:39:32 wintermute mountd[589]: "/usr/local/sparc/usr  =20
> -maproot", line 8: Can't change attributes for /usr/local/sparc/usr to
> Default

Are you talking about the diskless howto at ?

From the exports(5) BUGS:=20

"The export options are tied to the local mount points in the kernel and
must be non-contradictory for any exported subdirectory of the local
server mount point."

I.e., if you want to export the client /usr read-only, it has to be on
a different filesystem than the r/w client root. nullfs mounts come in
handy here, but seem to be an undocumented trick of the trade.=20

The howto gets that seriously wrong. Might be worth a PR.


/~\  The ASCII Ribbon Campaign                    Hauke Fath
\ /    No HTML/RTF in email	        Institut f=FCr Nachrichtentechnik
 X     No Word docs in email	                  TU Darmstadt
/ \  Respect for open standards              Ruf +49-6151-16-3281