Date: Thu, 5 Oct 2006 07:30:26 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: <200610050730.k957UQd1004732@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: "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 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 @@ </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> avaible. It is possible to pass -L to + <application>mount_nfs</application>, 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 --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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610050730.k957UQd1004732>