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