Le 20/09/2023 à 07:51, Roberto A. Foglietta a écrit :
The reason because it exists the ioctl() is well explained here
https://stackoverflow.com/questions/17118705/using-rndaddentropy-to-add-entropy-to-dev-random
which refers to the man page
https://man7.org/linux/man-pages/man4/random.4.html
Beware: I may have misunderstood something but the last reference
must be outdated since it recommends to save the seed under /var/run ...
In Debian/Devuan, /var/run points to /run which is mounted on tmpfs and
therefore vanishes on shutdown. Better store the seed under /var/lib.
It is the rationale of everything /run to be lost on reboot.
/var/lib is not so well defined; it contains stuff which must be
preserved (eg hardware clock frequency adjustment) and things which
don't need (eg file locks).
-- Didier
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox