OSDN Git Service

coreutils: Update to coreutils 8.22
[linuxjm/coreutils.git] / original / man1 / shred.1
index 2df3352..9900030 100644 (file)
@@ -1,5 +1,5 @@
-.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.35.
-.TH SHRED "1" "May 2014" "GNU coreutils 8.21" "User Commands"
+.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.43.3.
+.TH SHRED "1" "May 2014" "GNU coreutils 8.22" "User Commands"
 .SH NAME
 shred \- overwrite a file to hide its contents, and optionally delete it
 .SH SYNOPSIS
@@ -25,8 +25,8 @@ get random bytes from FILE
 \fB\-s\fR, \fB\-\-size\fR=\fIN\fR
 shred this many bytes (suffixes like K, M, G accepted)
 .TP
-\fB\-u\fR, \fB\-\-remove\fR
-truncate and remove file after overwriting
+\fB\-u\fR, \fB\-\-remove\fR[=\fIHOW\fR]
+truncate and remove file after overwriting; See below
 .TP
 \fB\-v\fR, \fB\-\-verbose\fR
 show progress
@@ -48,9 +48,13 @@ output version information and exit
 If FILE is \-, shred standard output.
 .PP
 Delete FILE(s) if \fB\-\-remove\fR (\fB\-u\fR) is specified.  The default is not to remove
-the files because it is common to operate on device files like /dev/hda,
-and those files usually should not be removed.  When operating on regular
-files, most people use the \fB\-\-remove\fR option.
+the files because it is common to operate on device files like \fI/dev/hda\fP,
+and those files usually should not be removed.
+The optional HOW parameter indicates how to remove a directory entry:
+\&'unlink' => use a standard unlink call.
+\&'wipe' => also first obfuscate bytes in the name.
+\&'wipesync' => also sync each obfuscated byte to disk.
+The default mode is 'wipesync', but note it can be expensive.
 .PP
 CAUTION: Note that shred relies on a very important assumption:
 that the file system overwrites data in place.  This is the traditional
@@ -76,22 +80,17 @@ In the case of ext3 file systems, the above disclaimer applies
 which journals file data in addition to just metadata.  In both the
 data=ordered (default) and data=writeback modes, shred works as usual.
 Ext3 journaling modes can be changed by adding the data=something option
-to the mount options for a particular file system in the /etc/fstab file,
+to the mount options for a particular file system in the \fI/etc/fstab\fP file,
 as documented in the mount man page (man mount).
 .PP
 In addition, file system backups and remote mirrors may contain copies
 of the file that cannot be removed, and that will allow a shredded file
 to be recovered later.
+.PP
+GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
+Report shred translation bugs to <http://translationproject.org/team/>
 .SH AUTHOR
 Written by Colin Plumb.
-.SH "REPORTING BUGS"
-Report shred bugs to bug\-coreutils@gnu.org
-.br
-GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
-.br
-General help using GNU software: <http://www.gnu.org/gethelp/>
-.br
-Report shred translation bugs to <http://translationproject.org/team/>
 .SH COPYRIGHT
 Copyright \(co 2013 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.