[ Version ( since = "1.11.8" ) ]
public int8 is_zero_device (string device) throws Error
test if a device contains all zero bytes
This returns true iff the device exists and contains all zero bytes.
Note that for large devices this can take a long time to run.
this |
A GuestfsSession object |
the returned value, or -1 on error |