Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Oct 2000 12:40:57 +0200
From:      Jesper Skriver <jesper@skriver.dk>
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:  <20001024124057.A4309@skriver.dk>
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:
> In message <200010232046.e9NKkLR01463@grimreaper.grondar.za> Mark Murray writes:
> : I have some ideas - I'll be a little slow until vacation ends, then
> : I'll be full speed ahead. John - Feel free to play with the etc/rc* stuff.
> 
> 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.
> 
> As I said at BSDcon, I'd love to see the entropy written by the kernel
> on shutdown to the end of swap space on shutdown and read in again
> when the system comes back.  

I have a idea, what about updating /entropy from cron every hour or so,
then if the box goes down hard for some reason, we'll have a entropy
file anyway ...

/Jesper

-- 
Jesper Skriver, jesper(at)skriver(dot)dk  -  CCIE #5456
Work:    Network manager @ AS3292 (Tele Danmark DataNetworks)
Private: Geek            @ AS2109 (A much smaller network ;-)

One Unix to rule them all, One Resolver to find them,
One IP to bring them all and in the zone to bind them.


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?20001024124057.A4309>