I understand that reads to /dev/random
may block, while reading /dev/urandom
is guaranteed not to block.
Where does the letter u
come into this? What does it signify?
Userspace? Unblocking? Micro?
Update:
Based on the initial wording of the question, there has been some debate over the usefulness of /dev/random
vs /dev/urandom
. The link Myths about /dev/urandom has been posted three times below, and is summarised in this answer to the question When to use /dev/random vs /dev/urandom.
/dev/random
which is blocking. – Satō Katsura Nov 16 '16 at 05:49/dev/random
was somehow better than/dev/urandom
is now long obsolete and for the vast majority of use cases,/dev/urandom
is now preferred. – David Schwartz Nov 16 '16 at 12:26/dev/urandom
did exist on commercial systems before Linux, and the main difference from/dev/random
was blocking behavior, but I don't have a reference to point you to. If you believe a comment in a patch from 1995 is the proper explanation, go with that. Maybe it is the proper explanation for Linux. You guys could also just ask T. Ts'o (the author of the patch). – Satō Katsura Nov 17 '16 at 05:35the burden of proof regarding the truthfulness of a claim lies with the one who makes the claim; if this burden is not met, the claim is unfounded and its opponents need not argue further in order to dismiss it.
I admit you may be right though! :) Also note that I didn't say that it would be a "huge endevour" - my intent was to say that he is likely a busy guy and currently the burden of proof lies upon you. – Tom Hale Nov 17 '16 at 12:15/dev/urandom
is weaker than/dev/random
; and useful, because other people in the know claim we should still use/dev/urandom
. Also, a few other things (f.i.umount
andfsck
) were not initially intended to be named that way. So pick carefully. :) – Satō Katsura Nov 18 '16 at 05:08