|
Lines 822-827
Link Here
|
| 822 |
</sect2> |
822 |
</sect2> |
| 823 |
|
823 |
|
| 824 |
<sect2> |
824 |
<sect2> |
|
|
825 |
<title>Locking</title> |
| 826 |
|
| 827 |
<para>Some applications (e.g. <application>mutt</application>) |
| 828 |
require file locking to operate correctly. In the case of |
| 829 |
<acronym>NFS</acronym>, <application>rpc.lockd</application> |
| 830 |
can be used for file locking. To enable it, add the following |
| 831 |
to the <filename>/etc/rc.conf</filename> file on both client |
| 832 |
and server (it is assumed that <acronym>NFS</acronym> |
| 833 |
client and server are configured already):</para> |
| 834 |
|
| 835 |
<programlisting>rpc_lockd_enable="YES" |
| 836 |
rpc_statd_enable="YES"</programlisting> |
| 837 |
|
| 838 |
<para>Start the application by using:</para> |
| 839 |
<screen>&prompt.root; <userinput>/etc/rc.d/nfslocking start</userinput></screen> |
| 840 |
|
| 841 |
<sect2> |
| 825 |
<title>Practical Uses</title> |
842 |
<title>Practical Uses</title> |
| 826 |
|
843 |
|
| 827 |
<para><acronym>NFS</acronym> has many practical uses. Some of |
844 |
<para><acronym>NFS</acronym> has many practical uses. Some of |