[ Version ( since = "1.53.5" ) ]
public string findfs_partlabel (string label) throws Error
find a partition by label
This command searches the partitions and returns the one which has the given label. An error is returned if no such partition can be found.
To find the label of a partition, use blkid (PART_ENTRY_NAME).
| this |
A GuestfsSession object |
|
the returned string, or NULL on error |