[Pkg-sysvinit-devel] init.d/urandom : saving random-seed

Christoph Anton Mitterer calestyo at scientia.net
Mon Aug 2 17:29:14 UTC 2010


On Mon, 2010-08-02 at 12:26 -0300, Henrique de Moraes Holschuh wrote:
> So anything used by early userspace *must* go in /.  The only hierarchies
> that are always in / (for *Debian*) are:
> 
> /etc
> /bin
> /sbin
> /lib* (/lib32, /lib64...)
Well I guess not only for Debian :).... or at least for all complying
with FHS.


> No. /boot can (and often is) a separate partition.
Well what I meant is: Take the /boot dir _ON_ the root-fs, even if the actual one is on another device.

Either it is on the rootfs,... then no problem anyways. If not: Store
the seed file in the /boot dir on the root-fs. It's there very early.
And write the seed file (on shutdown) after /boot (if any) has been
unmounted...
Of course the read-only problem would remain...


Cheers,
Chris.





More information about the Pkg-sysvinit-devel mailing list