[ Version ( since = "1.3.2" ) ]
public string checksum_device (string csumtype, string device) throws Error
compute MD5, SHAx or CRC checksum of the contents of a device
This call computes the MD5, SHAx or CRC checksum of the contents of the device named device
. For the types of checksums
supported see the checksum command.
this |
A GuestfsSession object |
the returned string, or NULL on error |