On 10/16/2012 5:40 PM, Gavin Panella wrote:
> The presence of the file doesn't matter so much because the lock
> is taken with lockf/flock. The file ought to not be there after a
> reboot though:
>
> $ mount | fgrep /run/lock none on /run/lock type tmpfs
> (rw,noexec,nosuid,nodev,size=5242880)
>
It is taken with a FileLock which creates a different file and
hardlinks it to the lock location.
It isn't open O_EXCL. That is a different way to do it, but not how
the startup.lock file is taken.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (Cygwin)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 10/16/2012 5:40 PM, Gavin Panella wrote: nosuid, nodev,size= 5242880)
> The presence of the file doesn't matter so much because the lock
> is taken with lockf/flock. The file ought to not be there after a
> reboot though:
>
> $ mount | fgrep /run/lock none on /run/lock type tmpfs
> (rw,noexec,
>
It is taken with a FileLock which creates a different file and
hardlinks it to the lock location.
It isn't open O_EXCL. That is a different way to do it, but not how
the startup.lock file is taken.
John www.enigmail. net/
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (Cygwin)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAlB 9bM8ACgkQJdeBCY SNAAO6oQCfVYJwK /DYQFm+ wq1pItkACF+ + lhCVqdrXiQ+ +sd0WL
8LoAn0LW29Wcw4V
=f/Oa
-----END PGP SIGNATURE-----