Why does dd from /dev/random give different file sizes?

view full story

http://unix.stackexchange.com – I am running the following command on an ubuntu system: dd if=/dev/random of=rand bs=1K count=2 However, every time I run it, I end up with a file of a different size. Why is this? How can I generate a file of a given size filled with random data? (HowTos)