[ Version ( since = "1.15.9" ) ]
public HashTable<string,string> blkid (string device) throws Error
print block device attributes
This command returns block device attributes for device
. The following fields are usually present in the returned hash.
Other fields may also be present.
UUID
The uuid of this device.
LABEL
The label of this device.
VERSION
The version of blkid command.
TYPE
The filesystem type or RAID of this device.
USAGE
The usage of this device, for example filesystem
or raid
.
this |
A GuestfsSession object |
a GHashTable of results, or NULL on error |