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

Richard Purdie
2013-01-25T14:30:32Z

On Fri, 2013-01-25 at 13:11 +0000, Burton, Ross wrote:
> On 24 January 2013 08:16, <Qi.Chen@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