From owner-freebsd-questions@FreeBSD.ORG Thu Aug 31 15:38:33 2006 Return-Path: X-Original-To: freebsd-questions@FreeBSD.org Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9BC8416A4DA for ; Thu, 31 Aug 2006 15:38:33 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (relay0.rambler.ru [81.19.66.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2174443D45 for ; Thu, 31 Aug 2006 15:38:33 +0000 (GMT) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (localhost [127.0.0.1]) by relay0.rambler.ru (Postfix) with ESMTP id 05E985E07; Thu, 31 Aug 2006 19:38:32 +0400 (MSD) Received: from edoofus.park.rambler.ru (unknown [81.19.65.108]) by relay0.rambler.ru (Postfix) with ESMTP id D932A5CE9; Thu, 31 Aug 2006 19:38:31 +0400 (MSD) Received: (from ru@localhost) by edoofus.park.rambler.ru (8.13.6/8.13.6) id k7VFcwlN057719; Thu, 31 Aug 2006 19:38:58 +0400 (MSD) (envelope-from ru) Date: Thu, 31 Aug 2006 19:38:58 +0400 From: Ruslan Ermilov To: backyard Message-ID: <20060831153858.GH56996@rambler-co.ru> References: <20060831151823.GE56996@rambler-co.ru> <20060831152445.21661.qmail@web83105.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="smOfPzt+Qjm5bNGJ" Content-Disposition: inline In-Reply-To: <20060831152445.21661.qmail@web83105.mail.mud.yahoo.com> User-Agent: Mutt/1.5.12-2006-07-14 X-Virus-Scanned: No virus found Cc: freebsd-questions@FreeBSD.org Subject: Re: who do you install freebsd without sysinstall? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2006 15:38:33 -0000 --smOfPzt+Qjm5bNGJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 31, 2006 at 08:24:45AM -0700, backyard wrote: > how does cron save entropy??? I've noticed "saving > entropy files" at shutdown but have always wondered > what it is using. or does it just read from > /dev/random? >=20 # Save some entropy so that /dev/random can re-seed on boot. */11 * * * * operator /usr/libexec/save-entropy The latter saves some amount of /dev/random for further seeding. /entropy is saved by /etc/rc.d/random, when it stops. random_stop() { # Write some entropy so when the machine reboots /dev/random # can be reseeded # I think two mechanisms exist because a solution involving cron(8) works better, but cron(8) is not guaranteed to be up and running (untypical but anyway), so additionally an entropy is also saved once on shutdown. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --smOfPzt+Qjm5bNGJ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFE9wKSqRfpzJluFF4RAn3pAJ9WvvPAMZXw2IE9gI+xAu9nA4i4iQCfdvGL i8kOp57ax+jbQknhfas1+iI= =XJeU -----END PGP SIGNATURE----- --smOfPzt+Qjm5bNGJ--