diff options
author | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2010-12-13 09:36:26 +0000 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2010-12-17 16:11:03 +0100 |
commit | edff5db1f50fd89e807f3fb518c77af7531e8117 (patch) | |
tree | a8358f6905a6dd4191b99c0062742ca1d321bd0f /block | |
parent | ea3bd56f56822350bbb91518b3d786948f573359 (diff) |
qemu-io: Add discard command
discard [-Cq] off len -- discards a number of bytes at a specified
offset
discards a range of bytes from the given offset
Example:
'discard 512 1k' - discards 1 kilobyte from 512 bytes into the file
Discards a segment of the currently open file.
-C, -- report statistics in a machine parsable format
-q, -- quite mode, do not show I/O statistics
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions