Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jan 2001 11:20:26 -0800 (PST)
From:      Matt Dillon <dillon@earth.backplane.com>
To:        Sheldon Hearn <sheldonh@uunet.co.za>
Cc:        "David O'Brien" <obrien@freebsd.org>, Doug Barton <dougb@freebsd.org>, 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 
Message-ID:  <200101111920.f0BJKQp72942@earth.backplane.com>
References:   <8933.979240469@axl.fw.uunet.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help

:
:
:
: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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101111920.f0BJKQp72942>