pvs
Description:
[ CCode ( array_length = false , array_null_terminated = true ) ]
[ Version ( since = "0.4" ) ]
public string[] pvs () throws Error
[ Version ( since = "0.4" ) ]
public string[] pvs () throws Error
list the LVM physical volumes (PVs)
List all the physical volumes detected. This is the equivalent of the pvs(8) command.
This returns a list of just the device names that contain PVs (eg. /dev/sda2).
See also pvs_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 |