GuestfsLV: Libguestfs GObject Bindings Reference Manual

## GuestfsLV GuestfsLV |

## Types and Values

struct | GuestfsLV

## Object Hierarchy

        GBoxed
        ╰── GuestfsLV

## Includes

    #include <guestfs-gobject.h>

## Description

## Functions

## Types and Values

### struct GuestfsLV

    struct GuestfsLV {
      gchar *lv_name;
      /* The next field is NOT nul-terminated, be careful when printing it: */
      gchar lv_uuid[32];
      gchar *lv_attr;
      gint64 lv_major;
      gint64 lv_minor;
      gint64 lv_kernel_major;
      gint64 lv_kernel_minor;
      guint64 lv_size;
      gint64 seg_count;
      gchar *origin;
      /* The next field is [0..100] or -1 meaning 'not present': */
      gfloat snap_percent;
      /* The next field is [0..100] or -1 meaning 'not present': */
      gfloat copy_percent;
      gchar *move_pv;
      gchar *lv_tags;
      gchar *mirror_log;
      gchar *modules;
    };

#### Members

gchar *`lv_name`; | A NULL-terminated string |
gchar `lv_uuid`[32]; | A 32 byte UUID. Note that this is not NULL-terminated |
gchar *`lv_attr`; | A NULL-terminated string |
gint64 `lv_major`; | A signed 64-bit integer |
gint64 `lv_minor`; | A signed 64-bit integer |
gint64 `lv_kernel_major`; | A signed 64-bit integer |
gint64 `lv_kernel_minor`; | A signed 64-bit integer |
guint64 `lv_size`; | An unsigned 64-bit integer |
gint64 `seg_count`; | A signed 64-bit integer |
gchar *`origin`; | A NULL-terminated string |
gfloat `snap_percent`; | A floating point number. A value between 0 and 100 represents a percentage. A value of -1 represents 'not present' |
gfloat `copy_percent`; | A floating point number. A value between 0 and 100 represents a percentage. A value of -1 represents 'not present' |
gchar *`move_pv`; | A NULL-terminated string |
gchar *`lv_tags`; | A NULL-terminated string |
gchar *`mirror_log`; | A NULL-terminated string |
gchar *`modules`; | A NULL-terminated string |