From owner-freebsd-doc@FreeBSD.ORG Thu Oct 5 11:10:24 2006 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3FDC916A40F for ; Thu, 5 Oct 2006 11:10:24 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1D6F43D55 for ; Thu, 5 Oct 2006 11:10:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k95BAN8M032493 for ; Thu, 5 Oct 2006 11:10:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k95BANI1032492; Thu, 5 Oct 2006 11:10:23 GMT (envelope-from gnats) Date: Thu, 5 Oct 2006 11:10:23 GMT Message-Id: <200610051110.k95BANI1032492@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org From: Roman Bogorodskiy Cc: Subject: Re: docs/103956: [ patch ] [ handbook ] add a section about NFS locking to Handbook X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Roman Bogorodskiy List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2006 11:10:24 -0000 The following reply was made to PR docs/103956; it has been noted by GNATS. From: Roman Bogorodskiy To: bug-followup@FreeBSD.org Cc: Remko Lodder , "Simon L. Nielsen" Subject: Re: docs/103956: [ patch ] [ handbook ] add a section about NFS locking to Handbook Date: Thu, 5 Oct 2006 15:05:59 +0400 --cmJC7u66zC7hs+87 Content-Type: multipart/mixed; boundary="HlL+5n6rz5pIUxbD" Content-Disposition: inline --HlL+5n6rz5pIUxbD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Update - fixed problems reported by remko. --HlL+5n6rz5pIUxbD Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="nfslocking.diff" Content-Transfer-Encoding: quoted-printable Index: chapter.sgml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/doc/en_US.ISO8859-1/books/handbook/network-servers/cha= pter.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 5 Oct 2006 11:02:38 -0000 @@ -822,6 +822,30 @@ =20 + Locking + =20 + 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 NFS + client and server are configured already): +=09 + rpc_lockd_enable=3D"YES" +rpc_statd_enable=3D"YES" +=09 + Start the application by using: + &prompt.root; /etc/rc.d/nfslocking start + + However, there is one more way of doing locking in + NFS available. It is possible to pass=20 + to &man.mount.nfs.8;, but it is suitable + for local locking only. Refer to &man.mount.nfs.8; for + details. + + + Practical Uses =20 NFS has many practical uses. Some of --HlL+5n6rz5pIUxbD-- --cmJC7u66zC7hs+87 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iQCVAwUBRSTnF4B0WzgdqspGAQIYGAQAgqc3yIbIJgfesuGFl+Pvg1HC502+HK8e AP9cdsrMF8+Y9yT66mYmdBc8mGJ5l90+pbrZXUbq5e3AR0rscIeANR0Fiq0yrPPs Amf6mj4EKVi4A81ZA+zptxCZngWpDL4prY/jyVkcKVfrMlbE5dUY2I5+fF2bEf5n vuSvhE2v1qA= =1A8a -----END PGP SIGNATURE----- --cmJC7u66zC7hs+87--