Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Oct 2006 01:02:39 +0300
From:      Volodymyr Kostyrko <arcade@synergetica.dn.ua>
To:        doc@FreeBSD.org
Subject:   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-nfs.html
Message-ID:  <452C187F.5030403@synergetica.dn.ua>

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



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