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-8.1 platform.
Download (HTTP): https://github.com/storaged-project/libblockdev/archive/libblockdev-2.11-1.tar.gz
Download MD5 sum: c1b240878ce2e36dbeb68b94bfd0403d
Download size: 244 KB
Estimated disk space required: 13 MB
Estimated build time: 0.2 SBU
gobject-introspection-1.52.1, libbytesize-0.11, LVM2-2.02.171 (with device-mapper), and volume_key-0.3.9
Python-3.6.2, NSS-3.32, and cryptsetup-1.7.5
btrfs-progs-4.12, GTK-Doc-1.26, mdadm-4.0, parted-3.2, Python-2.7.13, dmraid, and bcachefs
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libblockdev
Install libblockdev by running the following commands:
sh autogen.sh && ./configure --prefix=/usr \ --without-dm \ --sysconfdir=/etc && make
This package does not come with a test suite.
Now, as the root
user:
make install
Last updated on 2017-08-24 18:56:23 -0700