docs/103956: [ patch ] [ handbook ] add a section about NFS locking to Handbook
Roman Bogorodskiy
novel at FreeBSD.org
Sun Oct 8 18:30:21 UTC 2006
The following reply was made to PR docs/103956; it has been noted by GNATS.
From: Roman Bogorodskiy <novel at FreeBSD.org>
To: "Simon L. Nielsen" <simon at FreeBSD.org>
Cc: bug-followup at FreeBSD.org, Remko Lodder <remko at elvandar.org>
Subject: Re: docs/103956: [ patch ] [ handbook ] add a section about NFS locking to Handbook
Date: Sun, 8 Oct 2006 22:29:44 +0400
--VS++wcV0S1rZb1Fb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Simon L. Nielsen wrote:
> On 2006.10.05 15:05:59 +0400, Roman Bogorodskiy wrote:
> > Update - fixed problems reported by remko.
>=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>
>=20
> Here should be an extra newline.
>=20
> > + <screen>&prompt.root; <userinput>/etc/rc.d/nfslocking start</use=
rinput></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>
>=20
> How about instead, something like:
>=20
> 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.
>=20
> ?
>=20
> 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.=20
Roman Bogorodskiy
--VS++wcV0S1rZb1Fb
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (FreeBSD)
iQCVAwUBRSlDmIB0WzgdqspGAQJOLQP/WVRv9LUtHwXa5+LZ+YDQAWuyRmRhtN0v
5gOtlntkYobHLnzHIjVZdc2q9g84/WU53/gaMj3PzAGb1juYqd05RJMNW8X5f+II
15JbuvS46doq2wbKrvRy6zQo4XAppvkP2oiF0LVukjt2XlKzfkd8oC1cMm7TmyEl
XJa2YN8btJg=
=fELa
-----END PGP SIGNATURE-----
--VS++wcV0S1rZb1Fb--
More information about the freebsd-doc
mailing list