mirror of https://github.com/mkerrisk/man-pages
random.4: Note maximum number of bytes returned by read(2) on /dev/random
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
866fa68185
commit
44da0e2405
|
@ -89,6 +89,13 @@ a
|
|||
from
|
||||
.IR /dev/urandom
|
||||
will return at most 32 MB.
|
||||
A
|
||||
.BR read (2)
|
||||
from
|
||||
.IR /dev/random
|
||||
will return at most 512 bytes
|
||||
.\" SEC_XFER_SIZE in drivers/char/random.c
|
||||
(340 bytes on Linux kernels before version 2.6.12).
|
||||
|
||||
Writing to \fI/dev/random\fP or \fI/dev/urandom\fP will update the
|
||||
entropy pool with the data written, but this will not result in a
|
||||
|
|
Loading…
Reference in New Issue