[ Version ( since = "1.0.26" ) ]
public string sfdisk_disk_geometry (string device) throws Error
display the disk geometry from the partition table
This displays the disk geometry of device
read from the partition table. Especially in the case where the underlying block
device has been resized, this can be different from the kernel’s idea of the geometry (see
sfdisk_kernel_geometry).
The result is in human-readable format, and not designed to be parsed.
this |
A GuestfsSession object |
the returned string, or NULL on error |