/dev/random
is a non-deterministic random number generator. /dev/urandom
. /dev/random
should be initialized when the system is booted. When it shuts down, the entropy pool should then be stored somewhere to be used again for the next system start. /dev/random
is created in drivers/char/mem.c
. $ dd if=/dev/random of=/tmp/random.data bs=1M count=1