Subject: Re: creating random files
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Perry E. Metzger <perry@piermont.com>
List: tech-kern
Date: 03/08/1999 09:40:33
Manuel Bouyer <bouyer@antioche.lip6.fr> writes:
> 1 write a small C program that uses random(). Such a tool could be easy to
> put in src/regress
> 2 use /dev/random. It's not in the GENERIC config file yet, but should be
> for 1.4
For this sort of thing, you don't want to use real "random". Better to
use something based on a good PRNG. Also, when doing stuff like this,
it is often convenient to be able to debug by getting the same random
data multiple times, thus the need for specifying a PRNG and a seed.
Perry