| 1 |
shred-about = Overwrite the specified FILE(s) repeatedly, in order to make it harder for even |
| 2 |
very expensive hardware probing to recover the data. |
| 3 |
shred-usage = shred [OPTION]... FILE... |
| 4 |
shred-after-help = Delete FILE(s) if --remove (-u) is specified. The default is not to remove |
| 5 |
the files because it is common to operate on device files like /dev/hda, and |
| 6 |
those files usually should not be removed. |
| 7 |
|
| 8 |
CAUTION: Note that shred relies on a very important assumption: that the file |
| 9 |
system overwrites data in place. This is the traditional way to do things, but |
| 10 |
many modern file system designs do not satisfy this assumption. The following |
| 11 |
are examples of file systems on which shred is not effective, or is not |
| 12 |
guaranteed to be effective in all file system modes: |
| 13 |
|
| 14 |
- log-structured or journal file systems, such as those supplied with |
| 15 |
AIX and Solaris (and JFS, ReiserFS, XFS, Ext3, etc.) |
| 16 |
|
| 17 |
- file systems that write redundant data and carry on even if some writes |
| 18 |
fail, such as RAID-based file systems |
| 19 |
|
| 20 |
- file systems that make snapshots, such as Network Appliance's NFS server |
| 21 |
|
| 22 |
- file systems that cache in temporary locations, such as NFS |
| 23 |
version 3 clients |
| 24 |
|
| 25 |
- compressed file systems |
| 26 |
|
| 27 |
In the case of ext3 file systems, the above disclaimer applies (and shred is |
| 28 |
thus of limited effectiveness) only in data=journal mode, which journals file |
| 29 |
data in addition to just metadata. In both the data=ordered (default) and |
| 30 |
data=writeback modes, shred works as usual. Ext3 journal modes can be changed |
| 31 |
by adding the data=something option to the mount options for a particular |
| 32 |
file system in the /etc/fstab file, as documented in the mount man page (`man |
| 33 |
mount`). |
| 34 |
|
| 35 |
In addition, file system backups and remote mirrors may contain copies of |
| 36 |
the file that cannot be removed, and that will allow a shredded file to be |
| 37 |
recovered later. |
| 38 |
|
| 39 |
# Error messages |
| 40 |
shred-missing-file-operand = missing file operand |
| 41 |
shred-invalid-number-of-passes = invalid number of passes: {$passes} |
| 42 |
shred-cannot-open-random-source = cannot open random source: {$source} |
| 43 |
shred-invalid-file-size = invalid file size: {$size} |
| 44 |
shred-no-such-file-or-directory = {$file}: No such file or directory |
| 45 |
shred-failed-to-open-for-writing-not-a-directory = {$file}: failed to open for writing: Not a directory |
| 46 |
shred-failed-to-open-for-writing-is-a-directory = {$file}: failed to open for writing: Is a directory |
| 47 |
shred-not-a-file = {$file}: Not a file |
| 48 |
|
| 49 |
# Option help text |
| 50 |
shred-force-help = change permissions to allow writing if necessary |
| 51 |
shred-iterations-help = overwrite N times instead of the default (3) |
| 52 |
shred-size-help = shred this many bytes (suffixes like K, M, G accepted) |
| 53 |
shred-deallocate-help = deallocate and remove file after overwriting |
| 54 |
shred-remove-help = like -u but give control on HOW to delete; See below |
| 55 |
shred-verbose-help = show progress |
| 56 |
shred-exact-help = do not round file sizes up to the next full block; |
| 57 |
this is the default for non-regular files |
| 58 |
shred-zero-help = add a final overwrite with zeros to hide shredding |
| 59 |
shred-random-source-help = take random bytes from FILE |
| 60 |
|
| 61 |
# Verbose messages |
| 62 |
shred-removing = {$file}: removing |
| 63 |
shred-removed = {$file}: removed |
| 64 |
shred-renamed-to = renamed to |
| 65 |
shred-pass-progress = {$file}: pass |
| 66 |
shred-couldnt-rename = {$file}: Couldn't rename to {$new_name}: {$error} |
| 67 |
shred-failed-to-open-for-writing = {$file}: failed to open for writing |
| 68 |
shred-file-write-pass-failed = {$file}: File write pass failed |
| 69 |
shred-failed-to-remove-file = {$file}: failed to remove file |
| 70 |
|
| 71 |
# File I/O error messages |
| 72 |
shred-failed-to-clone-file-handle = failed to clone file handle |
| 73 |
shred-failed-to-seek-file = failed to seek in file |
| 74 |
shred-failed-to-read-seed-bytes = failed to read seed bytes from file |
| 75 |
shred-failed-to-get-metadata = failed to get file metadata |
| 76 |
shred-failed-to-set-permissions = failed to set file permissions |