Hot to recreate/restore a deleted character device (e.g. /dev/urandom)

I’m not really sure anymore how this happend but it did at work. The character device /dev/urandom got deleted and it had to be recreated or restored.
And actually there is only one command needed for that.

# mknod urandom c 190 1

Leave a Reply