Subject: Re: creating random files
To: Manuel Bouyer <>
From: Perry E. Metzger <>
List: tech-kern
Date: 03/08/1999 09:40:33
Manuel Bouyer <> 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.