checksum_device


Description:

[ 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.

Parameters:

this

A GuestfsSession object

Returns:

the returned string, or NULL on error