libblockdev-2.22

#### Beyond Linux® From Scratch (systemd Edition) - Version 9.0

### Chapter 9. General Libraries

- Prev

  libatomic_ops-7.6.10

- Next

  libbytesize-2.1

- Up
- Home

# libblockdev-2.22

## 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-9.0 platform.

### Package Information

- Download (HTTP): https://github.com/storaged-project/libblockdev/releases/download/2.22-1/libblockdev-2.22.tar.gz

- Download MD5 sum: f0572a52532e3016da9ff85bf941a9bd

- Download size: 836 KB

- Estimated disk space required: 13 MB

- Estimated build time: 0.2 SBU

### libblockdev Dependencies

#### Required

gobject-introspection-1.60.2, libbytesize-2.1, libyaml-0.2.2, parted-3.2, and volume_key-0.3.12

#### Optional

btrfs-progs-5.2.1, GTK-Doc-1.32, mdadm-4.0, dmraid, bcachefs, and ndctl

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libblockdev

## Installation of 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

## Contents

Installed Programs: lvm-cache-stats
Installed Libraries: libbd_btrfs.so, libbd_crypto.so, libbd_fs.so, libbd_kbd.so, libbd_loop.so, libbd_lvm.so, libbd_lvm-dbus.so, libbd_mdraid.so, libbd_mpath.so, libbd_part.so, libbd_part_err.so, libbd_swap.so, libbd_utils.so, libbd_vdo.so, and libblockdev.so
Installed Directories: /etc/libblockdev, /usr/include/blockdev, and /usr/share/gtk-doc/html/libblockdev

### Short Descriptions

lvm-cache-stats | prints statistics on caches on LVM Logical Volumes.

Last updated on 2019-08-18 18:01:59 -0700

- Prev

  libatomic_ops-7.6.10

- Next

  libbytesize-2.1

- Up
- Home