|
Lines 773-785
Link Here
|
| 773 |
/exports -alldirs -maproot=root client01 client02 |
773 |
/exports -alldirs -maproot=root client01 client02 |
| 774 |
/exports/obj -ro</programlisting> |
774 |
/exports/obj -ro</programlisting> |
| 775 |
|
775 |
|
| 776 |
<para>You must restart |
776 |
<para>The <application>mountd</application> must be forced to |
| 777 |
<application>mountd</application> whenever you modify |
777 |
recheck the <filename>/etc/exports</filename> file whenever it |
| 778 |
<filename>/etc/exports</filename> so the changes can take effect. |
778 |
has been modified, so the changes can take effect. This can be |
| 779 |
This can be accomplished by sending the HUP signal |
779 |
accomplished by invoking the <command>mountd</command> |
| 780 |
to the <command>mountd</command> process:</para> |
780 |
&man.rc.8; script with the appropriate parameter:</para> |
| 781 |
|
781 |
|
| 782 |
<screen>&prompt.root; <userinput>kill -HUP `cat /var/run/mountd.pid`</userinput></screen> |
782 |
<screen>&prompt.root; <userinput>/etc/rc.d/mountd reload</userinput></screen> |
|
|
783 |
|
| 784 |
<para>Refer to <xref linkend="configtuning-rcd"> for more |
| 785 |
information about using rc scripts.</para> |
| 783 |
|
786 |
|
| 784 |
<para>Alternatively, a reboot will make FreeBSD set everything |
787 |
<para>Alternatively, a reboot will make FreeBSD set everything |
| 785 |
up properly. A reboot is not necessary though. |
788 |
up properly. A reboot is not necessary though. |