Subject: Re: creating random files
To: None <perry@piermont.com>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-kern
Date: 03/08/1999 17:00:35
On Mar 8, Perry E. Metzger wrote
>
> 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.
>
Well, so this is a point for using a C program which would use
srandom()/random(). The seed could be passed on the command line, a shell
script or a makefile could use 'date +%s' or 'date +%S' to generate the seed.
--
Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr
--