aboutsummaryrefslogtreecommitdiff
path: root/toys/other/shred.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/other/shred.c')
-rw-r--r--toys/other/shred.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/toys/other/shred.c b/toys/other/shred.c
index e10adc09..680320ec 100644
--- a/toys/other/shred.c
+++ b/toys/other/shred.c
@@ -14,13 +14,13 @@ config SHRED
Securely delete a file by overwriting its contents with random data.
- -f Force (chmod if necessary)
- -n COUNT Random overwrite iterations (default 1)
- -o OFFSET Start at OFFSET
- -s SIZE Use SIZE instead of detecting file size
- -u unlink (actually delete file when done)
- -x Use exact size (default without -s rounds up to next 4k)
- -z zero at end
+ -f Force (chmod if necessary)
+ -n COUNT Random overwrite iterations (default 1)
+ -o OFFSET Start at OFFSET
+ -s SIZE Use SIZE instead of detecting file size
+ -u Unlink (actually delete file when done)
+ -x Use exact size (default without -s rounds up to next 4k)
+ -z Zero at end
Note: data journaling filesystems render this command useless, you must
overwrite all free space (fill up disk) to erase old data on those.