Amiga Unix — 68040 · 68060

Manual pages › System administration commands (1M)

randseed(1M)

keep the random generator's seed across reboots

Package: random46, added for amigaux.

randseed - keep the random generator's seed across reboots

/etc/init.d/randseed start | stop

randseed runs at every boot as /etc/rc2.d/S21randseed and at every shutdown as /etc/rc0.d/K02randseed.

writes the seed saved at the last shutdown, then the output of date and ps -ef, into /dev/urandom, which loads the random module, and saves a fresh seed at once, so that a crash never makes the next boot reuse one.
saves a fresh seed.

The seed is 512 bytes read from /dev/urandom, in /etc/random-seed, readable by root only; it replaces the old one only when it was read whole.

When the device cannot be written (a kernel without the module, or no node), the step says so in one line on the console and in the boot log, keeps the old seed and lets the boot go on.

/etc/random-seed
the seed.
/var/adm/rc.log
the boot log: randseed: lines.

random(7), rc.subr(1M)

31 October 2026 random