X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=guestfs-actions.pod;h=eb3898afcc88204639250ce716301fac2ae416c5;hb=6085137e65cb63aaf725207f2929a571d1149420;hp=f89ae26b75b263ced117bba440b703a32829e994;hpb=8e570870f577ff0c3db074f88924633b559af5d4;p=libguestfs.git diff --git a/guestfs-actions.pod b/guestfs-actions.pod index f89ae26..eb3898a 100644 --- a/guestfs-actions.pod +++ b/guestfs-actions.pod @@ -75,6 +75,32 @@ This function returns a NULL-terminated array of strings (like L), or NULL if there was an error. I. +=head2 guestfs_lvs + + char **guestfs_lvs (guestfs_h *handle); + +List all the logical volumes detected. This is the equivalent +of the L command. + +This returns a list of the logical volume device names +(eg. C). + +See also C. + +This function returns a NULL-terminated array of strings +(like L), or NULL if there was an error. +I. + +=head2 guestfs_lvs_full + + struct guestfs_lvm_lv_list *guestfs_lvs_full (guestfs_h *handle); + +List all the logical volumes detected. This is the equivalent +of the L command. The "full" version includes all fields. + +This function returns a C. +I after use.>. + =head2 guestfs_mount int guestfs_mount (guestfs_h *handle, @@ -100,6 +126,32 @@ call, in order to improve reliability. This function returns 0 on success or -1 on error. +=head2 guestfs_pvs + + char **guestfs_pvs (guestfs_h *handle); + +List all the physical volumes detected. This is the equivalent +of the L command. + +This returns a list of just the device names that contain +PVs (eg. C). + +See also C. + +This function returns a NULL-terminated array of strings +(like L), or NULL if there was an error. +I. + +=head2 guestfs_pvs_full + + struct guestfs_lvm_pv_list *guestfs_pvs_full (guestfs_h *handle); + +List all the physical volumes detected. This is the equivalent +of the L command. The "full" version includes all fields. + +This function returns a C. +I after use.>. + =head2 guestfs_sync int guestfs_sync (guestfs_h *handle); @@ -123,3 +175,29 @@ to create a new zero-length file. This function returns 0 on success or -1 on error. +=head2 guestfs_vgs + + char **guestfs_vgs (guestfs_h *handle); + +List all the volumes groups detected. This is the equivalent +of the L command. + +This returns a list of just the volume group names that were +detected (eg. C). + +See also C. + +This function returns a NULL-terminated array of strings +(like L), or NULL if there was an error. +I. + +=head2 guestfs_vgs_full + + struct guestfs_lvm_vg_list *guestfs_vgs_full (guestfs_h *handle); + +List all the volumes groups detected. This is the equivalent +of the L command. The "full" version includes all fields. + +This function returns a C. +I after use.>. +