[ CCode ( array_length = false , array_null_terminated = true ) ]
[ Version ( since = "0.4" ) ]
public string[] lvs () throws Error
list the LVM logical volumes (LVs)
List all the logical volumes detected. This is the equivalent of the lvs(8) command.
This returns a list of the logical volume device names (eg. /dev/VolGroup00/LogVol00).
See also lvs_full, list_filesystems.
This function depends on the feature "lvm2". See also feature_available .
this |
A GuestfsSession object |
an array of returned strings, or NULL on error |