![]() |
![]() |
![]() |
Schroot Reference Manual | ![]() |
---|
SbuildChrootBlockDeviceSbuildChrootBlockDevice — chroot block device object |
SbuildChrootBlockDevice; SbuildChrootBlockDeviceClass; const char* sbuild_chroot_block_device_get_device (const SbuildChrootBlockDevice *restrict chroot); void sbuild_chroot_block_device_set_device (SbuildChrootBlockDevice *chroot, const char *device);
GObject +----SbuildChroot +----SbuildChrootBlockDevice +----SbuildChrootLvmSnapshot
"device" gchararray : Read / Write / Construct "mount-options" gchararray : Read / Write / Construct
This object represents a chroot stored on an unmounted block device. The device will be mounted on demand.
typedef struct _SbuildChrootBlockDevice SbuildChrootBlockDevice;
SbuildChrootBlockDevice object.
typedef struct { SbuildChrootClass parent; } SbuildChrootBlockDeviceClass;
SbuildChrootBlockDevice class.
SbuildChrootClass parent ; |
the parent class |
const char* sbuild_chroot_block_device_get_device (const SbuildChrootBlockDevice *restrict chroot);
Get the block device of the chroot.
chroot : |
an SbuildChrootBlockDevice |
Returns : | a string. This string points to internally allocated storage in the chroot and must not be freed, modified or stored. |
void sbuild_chroot_block_device_set_device (SbuildChrootBlockDevice *chroot, const char *device);
Set the block device of a chroot. This is the "source" device. It may be the case that the real device is different (for example, an LVM snapshot PV), but by default will be the device to mount.
chroot : |
an SbuildChrootBlockDevice. |
device : |
the device to set. |
<< SbuildChrootPlain | SbuildChrootLvmSnapshot >> |