[6dcb9e77] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY libblockdev-download-http
|
---|
[5bffcec7] | 8 | "https://github.com/storaged-project/libblockdev/releases/download/&libblockdev-version;-1/libblockdev-&libblockdev-version;.tar.gz">
|
---|
[6dcb9e77] | 9 | <!ENTITY libblockdev-download-ftp " ">
|
---|
[78025211] | 10 | <!ENTITY libblockdev-md5sum "266275451c743852ffe995aeec2e1791">
|
---|
| 11 | <!ENTITY libblockdev-size "888 KB">
|
---|
| 12 | <!ENTITY libblockdev-buildsize "12 MB">
|
---|
[9e629a4] | 13 | <!ENTITY libblockdev-time "0.2 SBU">
|
---|
[6dcb9e77] | 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="libblockdev" xreflabel="libblockdev-&libblockdev-version;">
|
---|
| 17 | <?dbhtml filename="libblockdev.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
| 24 | <title>libblockdev-&libblockdev-version;</title>
|
---|
| 25 |
|
---|
| 26 | <indexterm zone="libblockdev">
|
---|
| 27 | <primary sortas="a-libblockdev">libblockdev</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to libblockdev</title>
|
---|
| 32 |
|
---|
| 33 | <para>
|
---|
[0ecaac7] | 34 | libblockdev is a C library supporting GObject Introspection for
|
---|
[6dcb9e77] | 35 | manipulation of block devices. It has a plugin-based architecture where
|
---|
| 36 | each technology (like LVM, Btrfs, MD RAID, Swap,...) is implemented in a
|
---|
| 37 | separate plugin, possibly with multiple implementations (e.g. using LVM
|
---|
| 38 | CLI or the new LVM DBus API).
|
---|
| 39 | </para>
|
---|
| 40 |
|
---|
[90c883f] | 41 | &lfs91_checked;
|
---|
[6dcb9e77] | 42 |
|
---|
| 43 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 44 | <itemizedlist spacing="compact">
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>
|
---|
| 47 | Download (HTTP): <ulink url="&libblockdev-download-http;"/>
|
---|
| 48 | </para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>
|
---|
| 52 | Download (FTP): <ulink url="&libblockdev-download-ftp;"/>
|
---|
| 53 | </para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>
|
---|
| 57 | Download MD5 sum: &libblockdev-md5sum;
|
---|
| 58 | </para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>
|
---|
| 62 | Download size: &libblockdev-size;
|
---|
| 63 | </para>
|
---|
| 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
| 66 | <para>
|
---|
| 67 | Estimated disk space required: &libblockdev-buildsize;
|
---|
| 68 | </para>
|
---|
| 69 | </listitem>
|
---|
| 70 | <listitem>
|
---|
| 71 | <para>
|
---|
| 72 | Estimated build time: &libblockdev-time;
|
---|
| 73 | </para>
|
---|
| 74 | </listitem>
|
---|
| 75 | </itemizedlist>
|
---|
| 76 |
|
---|
| 77 | <bridgehead renderas="sect3">libblockdev Dependencies</bridgehead>
|
---|
| 78 |
|
---|
| 79 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 80 | <para role="required">
|
---|
| 81 | <xref linkend="gobject-introspection"/>,
|
---|
[66d9ef8] | 82 | <xref linkend="libbytesize"/>,
|
---|
[b738ceb] | 83 | <xref linkend="libyaml"/>,
|
---|
| 84 | <xref linkend="parted"/>, and
|
---|
| 85 | <xref linkend="volume_key"/>
|
---|
[6dcb9e77] | 86 | </para>
|
---|
| 87 |
|
---|
| 88 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 89 | <para role="optional">
|
---|
| 90 | <xref linkend="btrfs-progs"/>,
|
---|
| 91 | <xref linkend="gtk-doc"/>,
|
---|
| 92 | <xref linkend="mdadm"/>,
|
---|
[8ca7994] | 93 | <ulink url="http://people.redhat.com/~heinzm/sw/dmraid/">dmraid</ulink>,
|
---|
| 94 | <ulink url="http://bcachefs.org/">bcachefs</ulink>, and
|
---|
[16dc2c74] | 95 | <ulink url="https://github.com/pmem/ndctl">ndctl</ulink>
|
---|
[6dcb9e77] | 96 | </para>
|
---|
| 97 |
|
---|
| 98 | <para condition="html" role="usernotes">User Notes:
|
---|
| 99 | <ulink url="&blfs-wiki;/libblockdev"/>
|
---|
| 100 | </para>
|
---|
| 101 | </sect2>
|
---|
| 102 |
|
---|
| 103 | <sect2 role="installation">
|
---|
| 104 | <title>Installation of libblockdev</title>
|
---|
| 105 |
|
---|
| 106 | <para>
|
---|
| 107 | Install <application>libblockdev</application> by running
|
---|
| 108 | the following commands:
|
---|
| 109 | </para>
|
---|
| 110 |
|
---|
[60ddbaf] | 111 | <screen><userinput>./configure --prefix=/usr \
|
---|
[ce794256] | 112 | --sysconfdir=/etc \
|
---|
[66d9ef8] | 113 | --with-python3 \
|
---|
| 114 | --without-gtk-doc \
|
---|
[16dc2c74] | 115 | --without-nvdimm \
|
---|
[ce794256] | 116 | --without-dm &&
|
---|
[6dcb9e77] | 117 | make</userinput></screen>
|
---|
| 118 |
|
---|
| 119 | <para>
|
---|
[453073a8] | 120 | This package does not come with a working test suite.
|
---|
[6dcb9e77] | 121 | </para>
|
---|
| 122 |
|
---|
| 123 | <para>
|
---|
| 124 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 125 | </para>
|
---|
| 126 |
|
---|
| 127 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 128 |
|
---|
| 129 | </sect2>
|
---|
| 130 | <!--
|
---|
| 131 | <sect2 role="commands">
|
---|
| 132 | <title>Command Explanations</title>
|
---|
| 133 |
|
---|
| 134 |
|
---|
| 135 | </sect2>
|
---|
| 136 | -->
|
---|
| 137 | <sect2 role="content">
|
---|
| 138 | <title>Contents</title>
|
---|
| 139 |
|
---|
| 140 | <segmentedlist>
|
---|
| 141 | <segtitle>Installed Programs</segtitle>
|
---|
| 142 | <segtitle>Installed Libraries</segtitle>
|
---|
| 143 | <segtitle>Installed Directories</segtitle>
|
---|
| 144 |
|
---|
| 145 | <seglistitem>
|
---|
| 146 | <seg>
|
---|
[4163b584] | 147 | lvm-cache-stats
|
---|
[6dcb9e77] | 148 | </seg>
|
---|
| 149 | <seg>
|
---|
| 150 | libbd_btrfs.so,
|
---|
| 151 | libbd_crypto.so,
|
---|
| 152 | libbd_fs.so,
|
---|
| 153 | libbd_kbd.so,
|
---|
| 154 | libbd_loop.so,
|
---|
| 155 | libbd_lvm.so,
|
---|
| 156 | libbd_lvm-dbus.so,
|
---|
| 157 | libbd_mdraid.so,
|
---|
| 158 | libbd_mpath.so,
|
---|
| 159 | libbd_part.so,
|
---|
| 160 | libbd_part_err.so,
|
---|
| 161 | libbd_swap.so,
|
---|
[4163b584] | 162 | libbd_utils.so,
|
---|
| 163 | libbd_vdo.so, and
|
---|
[6dcb9e77] | 164 | libblockdev.so
|
---|
| 165 | </seg>
|
---|
| 166 | <seg>
|
---|
[fa30d84] | 167 | /etc/libblockdev,
|
---|
| 168 | /usr/include/blockdev, and
|
---|
| 169 | /usr/share/gtk-doc/html/libblockdev
|
---|
[6dcb9e77] | 170 | </seg>
|
---|
| 171 | </seglistitem>
|
---|
| 172 | </segmentedlist>
|
---|
[4163b584] | 173 |
|
---|
[6dcb9e77] | 174 | <variablelist>
|
---|
| 175 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 176 | <?dbfo list-presentation="list"?>
|
---|
| 177 | <?dbhtml list-presentation="table"?>
|
---|
| 178 |
|
---|
[4163b584] | 179 | <varlistentry id="lvm-cache-stats">
|
---|
| 180 | <term><command>lvm-cache-stats</command></term>
|
---|
[6dcb9e77] | 181 | <listitem>
|
---|
| 182 | <para>
|
---|
[4163b584] | 183 | prints statistics on caches on LVM Logical Volumes.
|
---|
[6dcb9e77] | 184 | </para>
|
---|
[4163b584] | 185 | <indexterm zone="libblockdev lvm-cache-stats">
|
---|
| 186 | <primary sortas="b-lvm-cache-stats">lvm-cache-stats</primary>
|
---|
[6dcb9e77] | 187 | </indexterm>
|
---|
| 188 | </listitem>
|
---|
| 189 | </varlistentry>
|
---|
| 190 |
|
---|
| 191 | </variablelist>
|
---|
[4163b584] | 192 |
|
---|
[6dcb9e77] | 193 | </sect2>
|
---|
| 194 |
|
---|
| 195 | </sect1>
|
---|