docs/103956: [ patch ] [ handbook ] add a section about NFS locking to Handbook

Remko Lodder remko at elvandar.org
Fri Oct 13 09:30:30 UTC 2006


The following reply was made to PR docs/103956; it has been noted by GNATS.

From: Remko Lodder <remko at elvandar.org>
To: Roman Bogorodskiy <novel at FreeBSD.org>
Cc: "Simon L. Nielsen" <simon at FreeBSD.org>, bug-followup at FreeBSD.org
Subject: Re: docs/103956: [ patch ] [ handbook ] add a section about NFS locking to Handbook
Date: Fri, 13 Oct 2006 11:25:13 +0200

 Where is the diff now?? (The url no longer has the nfslocking.diff command)
 
 
 On Sun, Oct 08, 2006 at 10:29:44PM +0400, Roman Bogorodskiy wrote:
 >   Simon L. Nielsen wrote:
 > 
 > > On 2006.10.05 15:05:59 +0400, Roman Bogorodskiy wrote:
 > > > Update - fixed problems reported by remko.
 > > 
 > > >      <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>
 > > 
 > > Here should be an extra newline.
 > > 
 > > > +      <screen>&prompt.root; <userinput>/etc/rc.d/nfslocking start</userinput></screen>
 > > > +
 > > > +      <para>However, there is one more way of doing locking in
 > > > +        <acronym>NFS</acronym> available.  It is possible to pass 
 > > > +        <option>-L</option> to &man.mount.nfs.8;, but it is suitable
 > > > +        for local locking only.  Refer to &man.mount.nfs.8; for
 > > > +        details.</para>
 > > 
 > > 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.
 > 
 > Here's an updated diff: http://novel.fannet.ru/~novel/nfslocking.diff. 
 > 
 > Roman Bogorodskiy
 
 
 
 -- 
 Kind regards,
 
      Remko Lodder               ** remko at elvandar.org
      FreeBSD                    ** remko at FreeBSD.org
 
      /* Quis custodiet ipsos custodes */



More information about the freebsd-doc mailing list