Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Oct 2013 11:34:56 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Ian Lepore <ian@FreeBSD.org>
Cc:        src-committers@FreeBSD.org, svn-src-all@FreeBSD.org, svn-src-head@FreeBSD.org, Mark R V Murray <mark@grondar.org>, Konstantin Belousov <kostikbel@gmail.com>, Mark Murray <markm@FreeBSD.org>
Subject:   Re: 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 ...
Message-ID:  <86ppr8xkjj.fsf@nine.des.no>
In-Reply-To: <1381681119.42859.33.camel@revolution.hippie.lan> (Ian Lepore's message of "Sun, 13 Oct 2013 10:18:39 -0600")
References:  <201310121257.r9CCvvjO006546@svn.freebsd.org> <20131013074825.GO41229@kib.kiev.ua> <3B77143C-7D82-4E62-9974-BC2C6846893F@grondar.org> <20131013151359.GR41229@kib.kiev.ua> <812C1C64-75B0-4FE9-8FCD-B25A484448C6@grondar.org> <1381681119.42859.33.camel@revolution.hippie.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
Ian Lepore <ian@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
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86ppr8xkjj.fsf>