misc/126806: exports documentation incorrect or
gcooper at FreeBSD.org
Sun Aug 24 21:40:06 UTC 2008
>Synopsis: exports documentation incorrect or
>Arrival-Date: Sun Aug 24 21:40:04 UTC 2008
>Originator: Garrett Cooper
FreeBSD optimus.gateway.2wire.net 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Aug 18 21:49:28 PDT 2008 root@:/usr/obj/usr/src/sys/OPTIMUS amd64
Either the documentation for exports or the parsing being done is incorrect.
According to the examples in exports(5), I should be able to do the following...
/usr /usr/local -maproot=0:10 friends
.. in exports, and it should work.
What I tried (just as an experiment):
optimus# cat /etc/exports
/scratch -alldirs -maproot=nobody
/store -alldirs -maproot=nobody
/var /usr -alldirs -maproot=nobody
What I got however was /var and /usr aren't being exported:
optimus# showmount -e
Exports list on localhost:
According to /var/log/messages from syslog it was a bad "line" in exports:
Aug 24 14:28:00 optimus mountd: bad exports list line /var /usr
I'm not sure if this is a documentation issue or a functional issue, but the fact is that the 2 items don't align with one another.
echo "/var /usr -alldirs -maproot=nobody" >> /etc/exports && killall -HUP mountd
More information about the freebsd-bugs