Re: Question on /var/run, tmpfs and initscripts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 11 February 2009, Harald Hoyer wrote:
> Paul Wouters wrote:
> >
> > I've been optimizing a system for flash, and wanted to have /var/run
> > be a tmpfs mount, so that these writes to not wear down the flash/ssd.

I've done something similar, but not for flash/ssd reasons, but rather to get 
a plain old HDD in my PVR spun down as much (and as easily) as possible, 
using the read only root feature.  Or actually only the temporary state part 
of it.

> You could use the readonlyroot feature and customize /etc/rwtab,
> /etc/sysconfig/readonly-root

What I find lacking in that feature for my scenario is that there's no out of 
the box way to persist the temporary state stuff on tmpfs back to disk on 
shutdown.  So I did a rather crude hack to accomplish that at FC-6 time, and 
I think I'm still using the exactly same one with good success even though 
the box has been upgraded several times meanwhile, it's at F-10 currently.  
The hack and the RFE is at https://bugzilla.redhat.com/223722

There are not too many packages that drop /etc/rwtab.d snippets, so as Harald 
said, it's quite likely that customizing /etc/rwtab is needed in many 
scenarios.  It'd be great if more packages took care of that out of the box 
(see for example the vdr and vdradmin-am packages if interested).

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux