Introduction to libblockdev

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.

Package Information

libblockdev Dependencies


gobject-introspection-1.54.1, libbytesize-1.2, LVM2-2.02.175 (with device-mapper), and volume_key-0.3.9



btrfs-progs-4.13.2, GTK-Doc-1.26, mdadm-4.0, parted-3.2, Python-2.7.14, dmraid, and bcachefs

User Notes:

Installation of libblockdev

Install libblockdev by running the following commands:

./configure --prefix=/usr     \
            --sysconfdir=/etc \
            --without-dm      &&

This package does not come with a test suite.

Now, as the root user:

make install


Installed Programs: None
Installed Libraries:,,,,,,,,,,,,, and
Installed Directories: /etc/libblockdev, /usr/include/blockdev, and /usr/share/gtk-doc/html/libblockdev

Last updated on 2017-10-15 13:23:25 -0500