zero_device
Description:
write zeroes to an entire device
This command writes zeroes over the entire device
. Compare with
zero which just zeroes the first few blocks of a device.
If blocks are already zero, then this command avoids writing zeroes. This prevents the underlying device from becoming non-sparse or growing unnecessarily.
Parameters:
this |
A GuestfsSession object |
Returns:
true on success, false on error |