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

Mike Shaver (shaver@neon.ingenia.com)
Sat, 30 Sep 1995 02:06:35 -0400 (EDT)


Tony Nugent mumbled something vague about:
> /usr/src/linux-1.3.30/drivers/char/random.c
> /usr/src/linux-1.3.30/include/linux/random.h
>
> (I remember talk about this a few months ago in usenet. It seems
> Linus liked the idea :-)

Does anyone know if this is based on the code posted by Marcus Ranum?
He'd like to know (no copyright issues or anything, just curious).

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

cr--r--r-- 1 root root 1, 8 Sep 28 12:46 /dev/random
cr--r--r-- 1 root root 1, 9 Sep 28 12:46 /dev/urandom

(so,
mknod -m 0444 /dev/random c 1 8; mknod -m 0444 /dev/urandom c 1 9
is what I used)

Mike

-- 
#> Mike Shaver (shaver@ingenia.com) Ingenia Communications Corporation <#
#>                 Ignore the man behind the curtain.                  <#
#>                                                                     <#
#> "And then I realized that it never should have worked in the first  <#
#>  place.  Thus, it would not work again until rewritten." --- Anon.  <#