Gentoo Archives: gentoo-dev

From: James Cloos <cloos@×××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] rfc: use of the /run directory
Date: Wed, 18 May 2011 00:09:54
Message-Id: m3ei3wc1n5.fsf@jhcloos.com
In Reply to: Re: [gentoo-dev] rfc: use of the /run directory by Markos Chandras
1 >>>>> "MC" == Markos Chandras <hwoarang@g.o> writes:
2
3 MC> Can you please provide some examples that require /var/lock to
4 MC> survive a reboot?
5
6 Not everything is part of the distribution.
7
8 The one which first comes to mind are lock files placed to prevent
9 certain cron-initiated jobs from running right after a reboot.
10
11 Or locks preventing certain daemons from accepting connections.
12
13 Such locks often are used to protect net bandwidth when it is needed
14 for real-time use. A reboot of some random box on the lan should not
15 break such locks.
16
17 And /var/lock is the standard place to put and look for lock files.
18
19 Got to run; can't contiue to write right now....
20
21 -JimC
22 --
23 James Cloos <cloos@×××××××.com> OpenPGP: 1024D/ED7DAEA6

Replies

Subject Author
Re: [gentoo-dev] rfc: use of the /run directory William Hubbs <williamh@g.o>