docs/103956: [ patch ] [ handbook ] add a section about NFS locking to Handbook
Roman Bogorodskiy
novel at FreeBSD.org
Tue Oct 3 17:30:16 UTC 2006
>Number: 103956
>Category: docs
>Synopsis: [ patch ] [ handbook ] add a section about NFS locking to Handbook
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Oct 03 17:30:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Roman Bogorodskiy
>Release: FreeBSD 6.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD novel.fannet.ru 6.1-STABLE FreeBSD 6.1-STABLE #4: Thu Aug 24 15:55:09 MSD 2006 root at novel.fannet.ru:/usr/obj/usr/src/sys/NOVEL i386
>Description:
Add an instruction to Handbook how to enable NFS locking. remko@ and
shaun@ helped to improve wording and markup.
>How-To-Repeat:
>Fix:
--- nfslocking.diff begins here ---
Index: chapter.sgml
===================================================================
RCS file: /home/ncvs/doc/en_US.ISO8859-1/books/handbook/network-servers/chapter.sgml,v
retrieving revision 1.89
diff -u -r1.89 chapter.sgml
--- chapter.sgml 24 Sep 2006 14:17:15 -0000 1.89
+++ chapter.sgml 3 Oct 2006 17:09:59 -0000
@@ -822,6 +822,23 @@
</sect2>
<sect2>
+ <title>Locking</title>
+
+ <para>Some applications (e.g. <application>mutt</application>)
+ require file locking to operate correctly. In the case of
+ <acronym>NFS</acronym>, <application>rpc.lockd</application>
+ can be used for file locking. To enable it, add the following
+ to the <filename>/etc/rc.conf</filename> file on both client
+ and server (it is assumed that <acronym>NFS</acronym>
+ client and server are configured already):</para>
+
+ <programlisting>rpc_lockd_enable="YES"
+rpc_statd_enable="YES"</programlisting>
+
+ <para>Start the application by using:</para>
+ <screen>&prompt.root; <userinput>/etc/rc.d/nfslocking start</userinput></screen>
+
+ <sect2>
<title>Practical Uses</title>
<para><acronym>NFS</acronym> has many practical uses. Some of
--- nfslocking.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-doc
mailing list