From owner-freebsd-doc@FreeBSD.ORG Sun Oct 8 17:40:16 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 EBA5D16A403 for ; Sun, 8 Oct 2006 17:40:16 +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 350D143D46 for ; Sun, 8 Oct 2006 17:40:16 +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 k98HeGbb061729 for ; Sun, 8 Oct 2006 17:40:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k98HeG9a061728; Sun, 8 Oct 2006 17:40:16 GMT (envelope-from gnats) Date: Sun, 8 Oct 2006 17:40:16 GMT Message-Id: <200610081740.k98HeG9a061728@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org From: "Simon L. Nielsen" 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: "Simon L. Nielsen" List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Oct 2006 17:40:17 -0000 The following reply was made to PR docs/103956; it has been noted by GNATS. From: "Simon L. Nielsen" To: Roman Bogorodskiy Cc: bug-followup@FreeBSD.org, Remko Lodder Subject: Re: docs/103956: [ patch ] [ handbook ] add a section about NFS locking to Handbook Date: Sun, 8 Oct 2006 19:30:23 +0200 On 2006.10.05 15:05:59 +0400, Roman Bogorodskiy wrote: > Update - fixed problems reported by remko. > > + 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 NFS > + client and server are configured already): > + > + rpc_lockd_enable="YES" > +rpc_statd_enable="YES" > + > + Start the application by using: Here should be an extra newline. > + &prompt.root; /etc/rc.d/nfslocking start > + > + However, there is one more way of doing locking in > + NFS available. It is possible to pass > + to &man.mount.nfs.8;, but it is suitable > + for local locking only. Refer to &man.mount.nfs.8; for > + details. How about instead, something like: If real locking between the NFS clients and NFS server is not required, it is possible to let the NFS client do locking locally by passing -L to &man.mount.nfs.8;. Refer to the &man.mount.nfs.8; manual page for further details. ? You also have a bit of end-of-line whitespace which should be removed. > + > + > + > Practical Uses > > NFS has many practical uses. Some of -- Simon L. Nielsen