findfs_label


Description:

[ Version ( since = "1.5.3" ) ]
public string findfs_label (string label) throws Error

find a filesystem by label

This command searches the filesystems and returns the one which has the given label. An error is returned if no such filesystem can be found.

To find the label of a filesystem, use vfs_label.

Parameters:

this

A GuestfsSession object

Returns:

the returned string, or NULL on error