vgs
Description:
[ CCode ( array_length = false , array_null_terminated = true ) ]
[ Version ( since = "0.4" ) ]
public string[] vgs () throws Error
[ Version ( since = "0.4" ) ]
public string[] vgs () throws Error
list the LVM volume groups (VGs)
List all the volumes groups detected. This is the equivalent of the vgs(8) command.
This returns a list of just the volume group names that were detected (eg. VolGroup00
).
See also vgs_full.
This function depends on the feature "lvm2". See also feature_available.
Parameters:
this |
A GuestfsSession object |
Returns:
an array of returned strings, or NULL on error |