tmpfs for strategic directories

Lennart Poettering mzerqung at 0pointer.de
Tue Jun 1 00:04:01 UTC 2010


On Sun, 30.05.10 00:38, Xose Vazquez Perez (xose.vazquez at gmail.com) wrote:

> 
> 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.

To make that happen somebody needs to propose that for F14, and work on
it, and file the necessary bugs. It won't happen on its own.

Anyone wants to pick this up?

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/           GnuPG 0x1A015CC4


More information about the devel mailing list