summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarel Zak2014-10-27 09:42:51 +0100
committerKarel Zak2014-10-27 09:42:51 +0100
commit8f59654a4066d64bad7b23f6ddcc7b709d012d18 (patch)
tree297c6e77325bad64e5d0dab4815143fcae97ed9f
parentblkdiscard: add support for steps and progress (diff)
downloadkernel-qcow2-util-linux-8f59654a4066d64bad7b23f6ddcc7b709d012d18.tar.gz
kernel-qcow2-util-linux-8f59654a4066d64bad7b23f6ddcc7b709d012d18.tar.xz
kernel-qcow2-util-linux-8f59654a4066d64bad7b23f6ddcc7b709d012d18.zip
blkdiscard: update man page
Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r--sys-utils/blkdiscard.85
1 files changed, 5 insertions, 0 deletions
diff --git a/sys-utils/blkdiscard.8 b/sys-utils/blkdiscard.8
index 3c0334f1b..5e094d4ea 100644
--- a/sys-utils/blkdiscard.8
+++ b/sys-utils/blkdiscard.8
@@ -50,6 +50,10 @@ the end of the device,
will stop at the device size boundary. The default value extends to the end
of the device.
.TP
+.BR \-p , " \-\-step \fIlength"
+The number of bytes to discard within one iteration. The default is to discard
+all by one ioctl call.
+.TP
.BR \-s , " \-\-secure"
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
@@ -60,6 +64,7 @@ Display the aligned values of
.I offset
and
.IR length .
+If the option \fB\-\-step\fR specified than it prints discard progress every second.
.TP
.BR \-V , " \-\-version"
Display version information and exit.