On Sat, 22.05.10 18:30, Xose Vazquez Perez (xose.vazquez(a)gmail.com) wrote:
Is it worth using tmpfs for some directories(/var/run, lock...) ?
Yes. But this requires some changes all across the distro, just have a
look at the output of "rpm -qf /var/run/*".
That said most apps are fixed by now and don't choke when their subdir
in /var/run goes away on reboot, since both SUSE and Ubuntu are using
tmpfs on /var/run, and have done most of the work. So at this point this
should be mostly packaging work (%ghost in .spec files!), not
programming work to make /var/run compatible with tmpfs.
(And as a side note: systemd by default puts a tmpfs to both /var/run
and /var/lock).
Lennart
--
Lennart Poettering Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/ GnuPG 0x1A015CC4