summaryrefslogtreecommitdiff
path: root/src/shred.c
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2009-01-22 13:09:44 +0000
committerPádraig Brady <P@draigBrady.com>2009-01-22 13:26:04 +0000
commit83ae1bdd44432055e2cb6cf1502d1cc0cd651746 (patch)
treed0df0a7560ef8b01dd391ec801617bd990675893 /src/shred.c
parent2a8f5104cd4ee76dad4b803f04ec327e5199bcf8 (diff)
downloadcoreutils-83ae1bdd44432055e2cb6cf1502d1cc0cd651746.tar.xz
shred: change default number of overwrites from 25 to 3
* src/shred.c: The concensus is that a default of 3 passes is appropriate for current drive technologies. * src/TODO: Reference Paul Eggert's suggestion of enhancing shred to conform to DoD 5220 rules.
Diffstat (limited to 'src/shred.c')
-rw-r--r--src/shred.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shred.c b/src/shred.c
index 224f671cc..6ed4daaa3 100644
--- a/src/shred.c
+++ b/src/shred.c
@@ -102,7 +102,7 @@
#include "randread.h"
/* Default number of times to overwrite. */
-enum { DEFAULT_PASSES = 25 };
+enum { DEFAULT_PASSES = 3 };
/* How many seconds to wait before checking whether to output another
verbose output line. */