From cd9d242a13b719452d2f922e926454ae55998ca1 Mon Sep 17 00:00:00 2001 From: Remko Lodder Date: Fri, 13 Oct 2006 14:11:00 +0000 Subject: [PATCH] Add documentation about NFSlocking. PR: docs/103956 Submitted by: novel Facilitated by: Snow B.V. --- .../handbook/network-servers/chapter.sgml | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/en_US.ISO8859-1/books/handbook/network-servers/chapter.sgml b/en_US.ISO8859-1/books/handbook/network-servers/chapter.sgml index 8fa9083f7d..d4625a88d4 100644 --- a/en_US.ISO8859-1/books/handbook/network-servers/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/network-servers/chapter.sgml @@ -821,6 +821,32 @@ mountd_flags="-r" options. + + Locking + + Some applications (e.g. mutt) + require file locking to operate correctly. In the case of + NFS, rpc.lockd + can be used for file locking. To enable it, add the following + to the /etc/rc.conf file on both client + and server (it is assumed that the NFS + client and server are configured already): + + rpc_lockd_enable="YES" +rpc_statd_enable="YES" + + Start the application by using: + + &prompt.root; /etc/rc.d/nfslocking start + + If real locking between the NFS clients + and NFS server is not required, it is + possible to let the NFSclient do locking + locally by passing to &man.mount.nfs.8;. + Refer to the &man.mount.nfs.8; manual page for further details. + + + Practical Uses