diff options
author | Pádraig Brady <P@draigBrady.com> | 2014-04-03 13:47:48 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2014-04-04 05:32:41 +0100 |
commit | 217618e8bf10a09270291b9825f3181ed2f83dbf (patch) | |
tree | 2dda4cac20c6f65fee545800279cf5f995ede4fa /NEWS | |
parent | d0294ff3b90430750a631556277c75f1a555dd44 (diff) | |
download | coreutils-217618e8bf10a09270291b9825f3181ed2f83dbf.tar.xz |
shred: avoid a data pass on empty files
* src/shred.c (do_wipefd): Don't increase the size written
for an empty file up to a full block. Also increase the size
to OFF_T_MAX in the edge case where we do overflow.
* NEWS: Mention the shred improvements from recent changes.
* tests/misc/shred-passes.sh: Adjust as we no longer
write a BLKSIZE of data for empty files.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -57,6 +57,9 @@ GNU coreutils NEWS -*- outline -*- causing name look-up errors. Also look-ups are first done outside the chroot, in case the look-up within the chroot fails due to library conflicts etc. + shred now supports multiple passes on GNU/Linux tape devices by rewinding + the tape before each pass. Also redundant writes to empty files are avoided. + split avoids unnecessary input buffering, immediately writing input to output which is significant with --filter or when writing to fifos or stdout etc. |