[Pm-utils] [patch-commit] create directories and logfile

Michael Biebl mbiebl at gmail.com
Wed Jan 30 05:08:50 PST 2008


2008/1/30, Stefan Seyfried <seife at suse.de>:
> On Wed, Jan 30, 2008 at 12:49:22AM +0100, Till Maas wrote:
> > Hiyas,
> >
> > here is a pathc with following changes:
> >
> >     - create logfile and used directories on install
> >     - do not remove used directories, but clean them
> >
> > This patch makes sure that /var/run/pm-utils{,/storage} are created on make
> > install
>
> Isn't this useless since /var/run is cleared at boot anyway (or was this some
> other directory)?

FHS only mandates that files in /var/run are cleared [1]. TTBOMK,
directories are preserverd (unless you have a tmpfs on /var/run).

Cheers,
Michael

[1] http://www.pathname.com/fhs/pub/fhs-2.3.html#VARRUNRUNTIMEVARIABLEDATA
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?


More information about the Pm-utils mailing list