diff options
author | Pádraig Brady <P@draigBrady.com> | 2009-04-06 08:42:15 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2009-04-07 19:01:46 +0100 |
commit | af5723c71e3efbfe60266162ebb5d07b45d72725 (patch) | |
tree | 0e4d0dfce546753ff8c0e749da14a6ba3a26a3b4 /NEWS | |
parent | 9fdf5845fc87135c4f68bce79f72a25d07130240 (diff) | |
download | coreutils-af5723c71e3efbfe60266162ebb5d07b45d72725.tar.xz |
shred,sort,shuf: don't use /dev/urandom by default
Suggestion from Steven Schveighoffer at:
http://savannah.gnu.org/patch/?6797
to greatly speed up the random passes done by shred.
* gl/lib/randread.c: Default to using the internal
pseudorandom generator, rather than reading /dev/urandom
* src/shred.c (usage): remove mention of /dev/urandom
* src/shuf.c (usage); ditto
* src/sort.c (usage): ditto
* doc/coreutils.text: Document the new behaviour
for aquiring random data.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -7,6 +7,13 @@ GNU coreutils NEWS -*- outline -*- ls now aligns output correctly in the presence of abbreviated month names from the locale database that have differing widths. +** Changes in behavior + + shred, sort, shuf: now use an internal pseudorandom generator by default. + This is mainly noticable in shred where the 3 random passes it does by + default should proceed at the speed of the disk. Previously /dev/urandom + was used if available, which is relatively slow on GNU/Linux systems. + * Noteworthy changes in release 7.2 (2009-03-31) [stable] ** New features |