From owner-freebsd-doc@FreeBSD.ORG Thu Oct 5 07:30:27 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 43CD216A407 for ; Thu, 5 Oct 2006 07:30:27 +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 A741543D46 for ; Thu, 5 Oct 2006 07:30:26 +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 k957UQdK004735 for ; Thu, 5 Oct 2006 07:30:26 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k957UQd1004732; Thu, 5 Oct 2006 07:30:26 GMT (envelope-from gnats) Date: Thu, 5 Oct 2006 07:30:26 GMT Message-Id: <200610050730.k957UQd1004732@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 07:30:27 -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: "Simon L. Nielsen" Subject: Re: docs/103956: [ patch ] [ handbook ] add a section about NFS locking to Handbook Date: Thu, 5 Oct 2006 11:25:33 +0400 --St7VIuEGZ6dlpu13 Content-Type: multipart/mixed; boundary="cNdxnHkX5QqsyA0e" Content-Disposition: inline --cNdxnHkX5QqsyA0e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline An updated patch with a note about mount_nfs -L, as simon@ suggested. --cNdxnHkX5QqsyA0e 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 07:15:10 -0000 @@ -822,6 +822,29 @@ =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 avaible. It is possible to pass -L to + mount_nfs, 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 --cNdxnHkX5QqsyA0e-- --St7VIuEGZ6dlpu13 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iQCVAwUBRSSzbYB0WzgdqspGAQJ6rAQAt7oPGXMwWMDSvc8tTMa6meOd/HTSRDHQ RSdsxVBw8DEpbqYorzqgRtAUoDAJv/x8TjgZ2k2MeZ55uGEW9SxOQGmjvYTiy/fq fQI4CoFNYsFaa0bbV+m1Y86uT577djB+DJpEcpEh5Y9qrlncGb+WHwgG7AXy1cfh VdLGXSnlZ8Q= =x7Y+ -----END PGP SIGNATURE----- --St7VIuEGZ6dlpu13--