libblockdev is a C library supporting GObject Introspection for manipulation of block devices. It has a plugin-based architecture where each technology (like LVM, Btrfs, MD RAID, Swap,...) is implemented in a separate plugin, possibly with multiple implementations (e.g. using LVM CLI or the new LVM DBus API).
This package is known to build and work properly using an LFS-11.2 platform.
Download (HTTP): https://github.com/storaged-project/libblockdev/releases/download/2.27-1/libblockdev-2.27.tar.gz
Download MD5 sum: f2f343e24dc9920c1372e61f3ef1cfbd
Download size: 896 KB
Estimated disk space required: 13 MB
Estimated build time: 0.1 SBU
gobject-introspection-1.72.0, libbytesize-2.7, libyaml-0.2.5, parted-3.5, and volume_key-0.3.12
btrfs-progs-5.19, GTK-Doc-1.33.2, mdadm-4.2, dmraid, bcachefs, and ndctl
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/libblockdev
Install libblockdev by running the following commands:
./configure --prefix=/usr \ --sysconfdir=/etc \ --with-python3 \ --without-gtk-doc \ --without-nvdimm \ --without-dm && make
This package does not come with a working test suite.
Now, as the root
user:
make install