Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jun 2001 19:52:12 -0700
From:      Seth Kingsley <seth.kingsley@windriver.com>
To:        Richard Tobin <richard@cogsci.ed.ac.uk>
Cc:        Bruce Evans <bde@zeta.org.au>, "Andrey A. Chernov" <ache@nagual.pp.ru>, Adrian Browne <Adrian@nu-earth.demon.co.uk>, freebsd-current@FreeBSD.ORG
Subject:   Re: tcsh.cat
Message-ID:  <20010615195212.B95977@meow.osd.bsdi.com>
In-Reply-To: <200106151308.OAA07742@rhymer.cogsci.ed.ac.uk>; from richard@cogsci.ed.ac.uk on Fri, Jun 15, 2001 at 02:08:03PM %2B0100
References:  <200106151308.OAA07742@rhymer.cogsci.ed.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

--DBIVS5p969aUjpLe
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jun 15, 2001 at 02:08:03PM +0100, Richard Tobin wrote:
> > P>    The string pointed to by path1 shall be treated only as a charact=
er
> > P>    string and shall not be validated as a pathname.
>=20
> I have heard on several occasions of peope using symlink(2) to
> atomically store some small piece of information for locking purposes.

Netscape for instance, uses ~/.netscape/lock as a symlink to the IP and
PID that it's running on:

uniq{sethk}254% ll ~/.netscape/lock
lrwxr-xr-x  1 sethk  wheel  20 Jun 15 15:34 /home/sethk/.netscape/lock
-> 204.216.28.154:27906

--=20
|| Seth Kingsley || Platforms Lab Opps || seth.kingsley@windriver.com ||

--DBIVS5p969aUjpLe
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE7KsnaD1AymFxBOwgRAt5JAJ0V610Fgi0W0jUtxFZ6NY7ArBM8UQCfWUC7
kIYE88jZIgKTJZUoBr70fy4=
=ALdS
-----END PGP SIGNATURE-----

--DBIVS5p969aUjpLe--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010615195212.B95977>