diff options
author | Karel Zak | 2016-02-24 15:21:38 +0100 |
---|---|---|
committer | Karel Zak | 2016-02-24 15:21:38 +0100 |
commit | 7154cc892688f3c58cbbcdc2055f2635c1d0ef5b (patch) | |
tree | 0b35b471ec6a623ab216dc668cd13da3bda56109 /sys-utils/blkdiscard.8 | |
parent | Merge branch 'ldadd-cflags-warnings' of https://github.com/rudimeier/util-linux (diff) | |
download | kernel-qcow2-util-linux-7154cc892688f3c58cbbcdc2055f2635c1d0ef5b.tar.gz kernel-qcow2-util-linux-7154cc892688f3c58cbbcdc2055f2635c1d0ef5b.tar.xz kernel-qcow2-util-linux-7154cc892688f3c58cbbcdc2055f2635c1d0ef5b.zip |
blkdiscard: add --zeroout (BLKZEROOUT ioctl)
Requested-by: Yaniv Kaul <ykaul@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/blkdiscard.8')
-rw-r--r-- | sys-utils/blkdiscard.8 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys-utils/blkdiscard.8 b/sys-utils/blkdiscard.8 index f79fecb33..71180e906 100644 --- a/sys-utils/blkdiscard.8 +++ b/sys-utils/blkdiscard.8 @@ -3,12 +3,11 @@ blkdiscard \- discard sectors on a device .SH SYNOPSIS .B blkdiscard +[options] .RB [ \-o .IR offset ] .RB [ \-l .IR length ] -.RB [ \-s ] -.RB [ \-v ] .I device .SH DESCRIPTION .B blkdiscard @@ -58,6 +57,9 @@ Perform a secure discard. A secure discard is the same as a regular discard except that all copies of the discarded blocks that were possibly created by garbage collection must also be erased. This requires support from the device. .TP +.BR \-z , " \-\-zeroout" +Zero-fill rather than discard. +.TP .BR \-v , " \-\-verbose" Display the aligned values of .I offset |