Operating System - Tru64 Unix
1753864 Members
7512 Online
108809 Solutions
New Discussion юеВ

/dev/random on V5.1B

 
SOLVED
Go to solution
dom kris
Frequent Advisor

/dev/random on V5.1B

Helo,

I deleted the /dev/random and /dev/urandom device on my Tru64v5.1B box (per accident).
Any idea how I can get those back?

With kind regards,

Kris
2 REPLIES 2
Matt Palmer_2
Respected Contributor

Re: /dev/random on V5.1B

You could use mknod:

note that 'c' specifies that /dev/random and urandom are character devices.

before you try this check your man page on mknod and make sure that what I've done looks ok, but it should work.

/usr/sbin/mknod c

eg: for /dev/random something like:
/usr/sbin/mknod /dev/random c 85 0

for /dev/urandom:
/usr/sbin/mknod /dev/urandom c 85

hope this helps

regards




Matt Palmer_2
Respected Contributor
Solution

Re: /dev/random on V5.1B

missed something

/usr/sbin/mknod /dev/urandom c 85 1

regards