« Previous | Next » 

Revision edff5db1

IDedff5db1f50fd89e807f3fb518c77af7531e8117

Added by Stefan Hajnoczi over 10 years ago

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 <>
Signed-off-by: Kevin Wolf <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences