From owner-cvs-all Thu Jan 11 11:21:44 2001 Delivered-To: cvs-all@freebsd.org Received: from earth.backplane.com (placeholder-dcat-1076843399.broadbandoffice.net [64.47.83.135]) by hub.freebsd.org (Postfix) with ESMTP id 2CE2C37B69C; Thu, 11 Jan 2001 11:21:20 -0800 (PST) Received: (from dillon@localhost) by earth.backplane.com (8.11.1/8.9.3) id f0BJKQp72942; Thu, 11 Jan 2001 11:20:26 -0800 (PST) (envelope-from dillon) Date: Thu, 11 Jan 2001 11:20:26 -0800 (PST) From: Matt Dillon Message-Id: <200101111920.f0BJKQp72942@earth.backplane.com> To: Sheldon Hearn Cc: "David O'Brien" , Doug Barton , cvs-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/etc crontab rc src/etc/defaults rc.conf src/etc/mtree BSD.root.dist src/libexec Makefile src/libexec/save-entropy Makefile save-entropy.sh References: <8933.979240469@axl.fw.uunet.co.za> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG : : : :On Thu, 11 Jan 2001 11:09:13 PST, Matt Dillon wrote: : :> This is nonsense. Just fix mount_mfs to not use entropy. newfs needs :> entropy for NFS exports. MFS filesystems cannot be exported via NFS, :> and a plain old random number generator will suffice just fine. : :Where do we get a plain old random number generator while we're waiting :for the entropy device to seed? srandom(time(NULL)) + random(), assuming you guys didn't break the interface (random() is required to produce the same sequence of random numbers given the same srandom() seed). Plenty sufficient. Hell, for MFS, a simple incrementing integer is sufficient, or even a constant. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message