1 |
On 08/12/2010 09:42 PM, Eray Aslan wrote: |
2 |
> On Thu, Aug 12, 2010 at 02:36:40PM -0400, Michael Sterrett wrote: |
3 |
>> What you're saying doesn't agree with |
4 |
>> http://www.pathname.com/fhs/pub/fhs-2.3.html#VARRUNRUNTIMEVARIABLEDATA |
5 |
> |
6 |
> I do not understand. In the above link, it says: |
7 |
> |
8 |
> "/var/run: |
9 |
> [...]Files under this directory must be cleared (removed or truncated as |
10 |
> appropriate) at the beginning of the boot process." |
11 |
> |
12 |
> So we cannot assume that a directory exists under /var/run during boot. |
13 |
> Hence, keepdiring a dir that will most probably be cleared during boot |
14 |
> is pointless. |
15 |
> |
16 |
> Am I missing something? |
17 |
> |
18 |
|
19 |
It says "Files under this directory", not "Files and directories under |
20 |
this directory." |
21 |
|
22 |
Futhermore is continues with, |
23 |
|
24 |
"Programs may have a subdirectory of /var/run; this is encouraged for |
25 |
programs that use more than one run-time file." |
26 |
|
27 |
So I'd say keepdir is legal here... |