tmpfs for strategic directories

Xose Vazquez Perez xose.vazquez at gmail.com
Sat May 29 22:38:03 UTC 2010


On 05/22/2010 11:06 PM, Lennart Poettering wrote:

> On Sat, 22.05.10 18:30, Xose Vazquez Perez (xose.vazquez at 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.

I hope to see it in f14 with upstart, and/or systemd.

> (And as a side note: systemd by default puts a tmpfs to both /var/run
> and /var/lock).

It would be wonderful to see systemd in rawhide, and let people play 
with it.

-thanks-


More information about the devel mailing list