[ Version ( since = "1.0.78" ) ]
public string part_get_parttype (string device) throws Error
get the partition table type
This command examines the partition table on device
and returns the partition table type (format) being used.
Common return values include: msdos
(a DOS/Windows style MBR partition table), gpt
(a GPT/EFI-style partition
table). Other values are possible, although unusual. See part_init for a full
list.
this |
A GuestfsSession object |
the returned string, or NULL on error |