Date: Thu, 5 Oct 2006 11:10:23 GMT From: Roman Bogorodskiy <novel@FreeBSD.org> To: freebsd-doc@FreeBSD.org Subject: Re: docs/103956: [ patch ] [ handbook ] add a section about NFS locking to Handbook Message-ID: <200610051110.k95BANI1032492@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR docs/103956; it has been noted by GNATS. From: Roman Bogorodskiy <novel@FreeBSD.org> To: bug-followup@FreeBSD.org Cc: Remko Lodder <remko@elvandar.org>, "Simon L. Nielsen" <simon@FreeBSD.org> 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 @@ </sect2> =20 <sect2> + <title>Locking</title> + =20 + <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> +=09 + <programlisting>rpc_lockd_enable=3D"YES" +rpc_statd_enable=3D"YES"</programlisting> +=09 + <para>Start the application by using:</para> + <screen>&prompt.root; <userinput>/etc/rc.d/nfslocking start</userinp= ut></screen> + + <para>However, there is one more way of doing locking in + <acronym>NFS</acronym> available. It is possible to pass=20 + <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> + </sect2> + + <sect2> <title>Practical Uses</title> =20 <para><acronym>NFS</acronym> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610051110.k95BANI1032492>