svn commit: r256377 - in head: etc/defaults etc/rc.d share/examples/kld/random_adaptor share/man/man4 sys/boot/forth sys/conf sys/dev/glxsb sys/dev/hifn sys/dev/random sys/dev/rndtest sys/dev/safe ...

Dag-Erling Smørgrav des at des.no
Mon Oct 14 09:35:06 UTC 2013


Ian Lepore <ian at FreeBSD.org> writes:
> Why is the file even in the root filesystem?  /var/db seems to be the
> right place for a transient file needed by the system.

We've had both /entropy and /var/db/entropy for years.  The former is
created by /etc/rc.d/random during shutdown (and as of a few days ago by
the installer), while the latter is maintained by a cron job.  The only
thing that's new here is that Mark added code to read /entropy from the
kernel so we can get it as early as possible.  I was uncomfortable with
it - especially the part that *writes* it from the kernel - so we hid it
behind an off-by-default option until we can figure out what we really
want to do about it.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the svn-src-head mailing list