![]() |
![]() |
![]() |
Schroot Reference Manual | ![]() |
---|
SbuildChrootLvmSnapshotSbuildChrootLvmSnapshot — chroot lvm snapshot object |
SbuildChrootLvmSnapshot; SbuildChrootLvmSnapshotClass; const char* sbuild_chroot_lvm_snapshot_get_snapshot_device (const SbuildChrootLvmSnapshot *restrict chroot); void sbuild_chroot_lvm_snapshot_set_snapshot_device (SbuildChrootLvmSnapshot *chroot, const char *snapshot_device); const char* sbuild_chroot_lvm_snapshot_get_snapshot_options (const SbuildChrootLvmSnapshot *restrict chroot); void sbuild_chroot_lvm_snapshot_set_snapshot_options (SbuildChrootLvmSnapshot *chroot, const char *snapshot_options);
GObject +----SbuildChroot +----SbuildChrootBlockDevice +----SbuildChrootLvmSnapshot
"lvm-snapshot-device" gchararray : Read / Write "lvm-snapshot-options" gchararray : Read / Write / Construct
This object represents a chroot stored on an LVM logical volume (LV). A snapshot LV will be created and mounted on demand.
typedef struct _SbuildChrootLvmSnapshot SbuildChrootLvmSnapshot;
SbuildChrootLvmSnapshot object.
typedef struct { SbuildChrootBlockDeviceClass parent; } SbuildChrootLvmSnapshotClass;
SbuildChrootLvmSnapshot class.
SbuildChrootBlockDeviceClass parent ; |
the parent class |
const char* sbuild_chroot_lvm_snapshot_get_snapshot_device (const SbuildChrootLvmSnapshot *restrict chroot);
Get the logical volume snapshot device name, used by lvcreate.
chroot : |
an SbuildChrootLvmSnapshot |
Returns : | a string. This string points to internally allocated storage in the chroot and must not be freed, modified or stored. |
void sbuild_chroot_lvm_snapshot_set_snapshot_device (SbuildChrootLvmSnapshot *chroot, const char *snapshot_device);
Set the logical volume snapshot device name, used by lvcreate.
chroot : |
an SbuildChrootLvmSnapshot. |
snapshot_device : |
the snapshot device to set. |
const char* sbuild_chroot_lvm_snapshot_get_snapshot_options (const SbuildChrootLvmSnapshot *restrict chroot);
Get the logical volume snapshot options, used by lvcreate.
chroot : |
an SbuildChrootLvmSnapshot |
Returns : | a string. This string points to internally allocated storage in the chroot and must not be freed, modified or stored. |
void sbuild_chroot_lvm_snapshot_set_snapshot_options (SbuildChrootLvmSnapshot *chroot, const char *snapshot_options);
Set the logical volume snapshot options, used by lvcreate.
chroot : |
an SbuildChrootLvmSnapshot. |
snapshot_options : |
the snapshot options to set. |
<< SbuildChrootBlockDevice | SbuildConfig >> |