From: Jim Meyering Date: Thu, 13 Mar 2003 13:14:40 +0000 (+0000) Subject: (shred invocation): Mention that --exact X-Git-Tag: v4.5.10~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=814ec278fc2c6ea7fb33af92e4b74ea6374c542c;p=thirdparty%2Fcoreutils.git (shred invocation): Mention that --exact is now the default for non-regular files. --- diff --git a/doc/coreutils.texi b/doc/coreutils.texi index d72114a07a..4a5ce40977 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -6818,10 +6818,10 @@ Display status updates as sterilization proceeds. @itemx --exact @opindex -x @opindex --exact -Normally, shred rounds the file size up to the next multiple of -the filesystem block size to fully erase the last block of the file. -This option suppresses that behavior. -Thus, by default if you shred a 10-byte file on a system with 512-byte +By default, @command{shred} rounds the size of a regular file up to the next +multiple of the filesystem block size to fully erase the last block of the file. +Use @option{--exact} to suppress that behavior. +Thus, by default if you shred a 10-byte regular file on a system with 512-byte blocks, the resulting file will be 512 bytes long. With this option, shred does not increase the size of the file.