1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-07-26 02:30:35 +02:00

(shred invocation): Mention that --exact

is now the default for non-regular files.
This commit is contained in:
Jim Meyering
2003-03-13 13:14:40 +00:00
parent 0ac35ac0b7
commit 814ec278fc
+4 -4
View File
@@ -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.