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 character
> > P>    string and shall not be validated as a pathname.
> 
> 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

-- 
|| Seth Kingsley || Platforms Lab Opps || [EMAIL PROTECTED] ||

PGP signature

Reply via email to