From owner-svn-src-head@FreeBSD.ORG Mon Oct 14 09:35:06 2013 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7E957942; Mon, 14 Oct 2013 09:35:06 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id 394002768; Mon, 14 Oct 2013 09:35:06 +0000 (UTC) Received: from nine.des.no (smtp.des.no [194.63.250.102]) by smtp-int.des.no (Postfix) with ESMTP id 5E3B366B6; Mon, 14 Oct 2013 09:35:05 +0000 (UTC) Received: by nine.des.no (Postfix, from userid 1001) id BCD0CB89; Mon, 14 Oct 2013 11:34:56 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Ian Lepore 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 ... 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> Date: Mon, 14 Oct 2013 11:34:56 +0200 In-Reply-To: <1381681119.42859.33.camel@revolution.hippie.lan> (Ian Lepore's message of "Sun, 13 Oct 2013 10:18:39 -0600") Message-ID: <86ppr8xkjj.fsf@nine.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: src-committers@FreeBSD.org, svn-src-all@FreeBSD.org, svn-src-head@FreeBSD.org, Mark R V Murray , Konstantin Belousov , Mark Murray X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Oct 2013 09:35:06 -0000 Ian Lepore 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