Date: Tue, 24 Oct 2000 09:18:31 -0500 From: Mike Pritchard <mpp@mppsystems.com> To: Warner Losh <imp@village.org> Cc: Mark Murray <mark@grondar.za>, "John W. De Boskey" <jwd@FreeBSD.org>, "Jordan K. Hubbard" <jkh@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc rc Message-ID: <20001024091831.A49235@mppsystems.com> In-Reply-To: <200010232321.RAA11268@harmony.village.org>; from imp@village.org on Mon, Oct 23, 2000 at 05:21:49PM -0600 References: <200010232046.e9NKkLR01463@grimreaper.grondar.za> <20001023081548.A41843@bsdwins.com> <200010232046.e9NKkLR01463@grimreaper.grondar.za> <200010232321.RAA11268@harmony.village.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 23, 2000 at 05:21:49PM -0600, Warner Losh wrote: > Personally, I'm thinking seriously of changing that whole guessing > mess to something like > n=`date %S` > dd if=/dev/da0s1b of=/dev/random seek=$n bs=16k count=1 \ > >/dev/null 2>&1 > as the first few lines of /etc/rc before even fsck. As it doesn't > require access to file systems. > > This does assume three things: > 1) That swap space is random enough (and on da0s1b :) > 2) 16k is enough > 3) swap space is at least 1M in size. > but it is good enough for the fallback case. I have a couple of machines that rarely, if ever, swap. So my swap partitions are pretty much static data, which seems to make them a poor source of entropy. -Mike -- Mike Pritchard mpp@FreeBSD.org or mpp@mppsystems.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001024091831.A49235>