How to create /dev/random and /dev/urandom for 1.3.30 ?

Tony Nugent (tonyn@sctnugen.ppp.gu.edu.au)
Fri, 29 Sep 1995 09:10:07 +1000


Applying the 1.3.30 kernel patches produced the following new files:

/usr/src/linux-1.3.30/drivers/char/random.c
/usr/src/linux-1.3.30/include/linux/random.h

To quote from random.c...

* The two other interfaces are two character devices /dev/random and
* /dev/urandom. /dev/random is suitable for use when very high
* quality randomness is desired (for example, for key generation.),
* as it will only return a maximum of the number of bits of
* randomness (as estimated by the random number generator) contained
* in the entropy pool.

Neat! :)

(I remember talk about this a few months ago in usenet. It seems
Linus liked the idea :-)

I'd like to create these two devices. Exactly how is this done so
that it all works properly with correct ownership and permissions etc?

Thanks.

Cheers
Tony
-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-
T.Nugent@sct.gu.edu.au tnugent@cit.gu.edu.au tonyn@sctnugen.ppp.gu.edu.au
-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-
Q: How many conservatives does it take to change a light bulb?
A: One; after reflecting in the twilight on the merit of the previous bulb.