Markus Blog What's going on Internet?

5Dec/071

Creating /dev/random

Somehow in some Linux Centos installation the /dev/random is missing. The problem is some software needs it to working well. Here is how to create it:

mknod /dev/random c 1 9

Other devices might be missing to such as /dev/urandom, /dev/null and /dev/ptmx if you need those device here is how to create it:

mknod /dev/urandom c 1 9
mknod /dev/ptmx c 5 2
mknod /dev/null c 1 3
chmod +666 /dev/null