[OE-core] [PATCH 09/12] initscripts: inherit volatiles to support read-only rootfs

Richard Purdie richard.purdie at linuxfoundation.org
Fri Jan 25 14:14:31 UTC 2013


On Fri, 2013-01-25 at 13:11 +0000, Burton, Ross wrote:
> On 24 January 2013 08:16,  <Qi.Chen at windriver.com> wrote:
> > +VOLATILE_DIR = "/var/volatile/lib/urandom"
> > +VOLATILE_LINK = "/var/lib/urandom"
> 
> A better solution would be to not attempt to save and restore a seed
> value that is intended to persist across reboots when it's on a tmpfs.
>  Putting the urandom seed into tmpfs is just a waste of time.

I have to wonder why we don't put a union mount tmpfs over /var/lib to
be honest...

or if we don't want to depend on unionfs, a tmpfs over /var/lib...

Cheers,

Richard





More information about the Openembedded-core mailing list