http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-nfs.html
Volodymyr Kostyrko
arcade at synergetica.dn.ua
Tue Oct 10 22:02:43 UTC 2006
I have a noticed an inconsistance in this section:
[code]
The mountd daemon must be forced to recheck the /etc/exports file
whenever it has been modified, so the changes can take effect. This can
be accomplished either by sending a HUP signal to the running daemon:
# kill -HUP `cat /var/run/mountd.pid`
or by invoking the mountd rc(8) script with the appropriate parameter:
# /etc/rc.d/mountd reload
Please refer to Section 11.7 for more information about using rc scripts.
[/code]
The command "/etc/rc.d/mountd reload" doesn't work neither says nothing.
Yet "/etc/rc.d/mountd forcereload" works and says: "Reloading mountd
config files."
Section 11.7 states that 'force' is needed when rc script is not enabled
in /etc/rc.conf. There is no place in this document which recommends
turning mountd on. Instead we have:
[code]
On the NFS server, make sure that the following options are configured
in the /etc/rc.conf file:
rpcbind_enable="YES"
nfs_server_enable="YES"
mountd_flags="-r"
mountd runs automatically whenever the NFS server is enabled.
[/code]
Both this places can't be correct at once.
--
[WBR], Arcade.
More information about the freebsd-doc
mailing list