[arch-general] [PATCHES] About /var/run/ and /var/lock/ checks in daemons
redshift at pandora.be
Thu Feb 12 03:28:24 EST 2009
Gerardo Exequiel Pozzi wrote:
> Hi people!
> I interested to make Arch Linux suitable for use with a /var/run and
> /var/lock that are mounted as tmpfs. But this also helps, in the case
> that not mounted as tmpfs, to make more simple "purge function" for
> these directories at rc.sysinit step.
> In my case this is "just for fun!", but other users can be benefited by
> this, for example "netbook users".
> OK, i initially created rc-script patches for the packages in the extra
> repo that use /var/run/program-name-directory and fails if not exists.
> (these list was obtained with """ for x in $(find
> /usr/share/pkgtools/lists -type f); do egrep -l "var/run/.+" $x;done """
> @@NOTE@@: I will send the patches to the FL individualy per package now,
> reference to this email in FL, and then copy the links to response in
> this email. ;)
> Please review it, thanks in advance. :)
What exactly are the advantages of running /var/run and /var/lock on tmpfs?
More information about the arch-general