blkid


Description:

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

Parameters:

this

A GuestfsSession object

Returns:

a GHashTable of results, or NULL on error