[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
|
---|
| 8 | "https://github.com/storaged-project/libblockdev/archive/libblockdev-&libblockdev-version;.tar.gz">
|
---|
| 9 | <!ENTITY libblockdev-download-ftp " ">
|
---|
[cb03daa] | 10 | <!ENTITY libblockdev-md5sum "c1b240878ce2e36dbeb68b94bfd0403d">
|
---|
[bf5b1db] | 11 | <!ENTITY libblockdev-size "244 KB">
|
---|
[cb03daa] | 12 | <!ENTITY libblockdev-buildsize "13 MB">
|
---|
[6dcb9e77] | 13 | <!ENTITY libblockdev-time "0.2 SBU">
|
---|
| 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>
|
---|
| 34 | libblockdev is a C library supporting GObject introspection for
|
---|
| 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 |
|
---|
[110272ed] | 41 | &lfs81_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"/>,
|
---|
| 82 | <xref linkend="libbytesize"/>,
|
---|
| 83 | <xref linkend="lvm2"/> (with device-mapper), and
|
---|
| 84 | <xref linkend="volume_key"/>
|
---|
| 85 | </para>
|
---|
| 86 |
|
---|
| 87 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 88 | <para role="recommended">
|
---|
| 89 | <xref linkend="python3"/>,
|
---|
| 90 | <xref linkend="nss"/>, and
|
---|
| 91 | <xref linkend="cryptsetup"/>
|
---|
| 92 | </para>
|
---|
| 93 |
|
---|
| 94 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 95 | <para role="optional">
|
---|
| 96 | <xref linkend="btrfs-progs"/>,
|
---|
| 97 | <xref linkend="gtk-doc"/>,
|
---|
| 98 | <xref linkend="mdadm"/>,
|
---|
| 99 | <xref linkend="parted"/>,
|
---|
| 100 | <xref linkend="python2"/>,
|
---|
| 101 | <ulink url="http://dmraid.sourcearchive.com/">dmraid</ulink>, and
|
---|
| 102 | <ulink url="http://bcachefs.org/">bcachefs</ulink>
|
---|
| 103 | </para>
|
---|
| 104 |
|
---|
| 105 | <para condition="html" role="usernotes">User Notes:
|
---|
| 106 | <ulink url="&blfs-wiki;/libblockdev"/>
|
---|
| 107 | </para>
|
---|
| 108 | </sect2>
|
---|
| 109 |
|
---|
| 110 | <sect2 role="installation">
|
---|
| 111 | <title>Installation of libblockdev</title>
|
---|
| 112 |
|
---|
| 113 | <para>
|
---|
| 114 | Install <application>libblockdev</application> by running
|
---|
| 115 | the following commands:
|
---|
| 116 | </para>
|
---|
| 117 |
|
---|
| 118 | <screen><userinput>sh autogen.sh &&
|
---|
| 119 |
|
---|
| 120 | ./configure --prefix=/usr \
|
---|
| 121 | --without-dm \
|
---|
| 122 | --sysconfdir=/etc &&
|
---|
| 123 | make</userinput></screen>
|
---|
| 124 |
|
---|
| 125 | <para>
|
---|
| 126 | This package does not come with a test suite.
|
---|
| 127 | </para>
|
---|
| 128 |
|
---|
| 129 | <para>
|
---|
| 130 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 131 | </para>
|
---|
| 132 |
|
---|
| 133 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 134 |
|
---|
| 135 | </sect2>
|
---|
| 136 | <!--
|
---|
| 137 | <sect2 role="commands">
|
---|
| 138 | <title>Command Explanations</title>
|
---|
| 139 |
|
---|
| 140 |
|
---|
| 141 | </sect2>
|
---|
| 142 | -->
|
---|
| 143 | <sect2 role="content">
|
---|
| 144 | <title>Contents</title>
|
---|
| 145 |
|
---|
| 146 | <segmentedlist>
|
---|
| 147 | <segtitle>Installed Programs</segtitle>
|
---|
| 148 | <segtitle>Installed Libraries</segtitle>
|
---|
| 149 | <segtitle>Installed Directories</segtitle>
|
---|
| 150 |
|
---|
| 151 | <seglistitem>
|
---|
| 152 | <seg>
|
---|
| 153 | None
|
---|
| 154 | </seg>
|
---|
| 155 | <seg>
|
---|
| 156 | libbd_btrfs.so,
|
---|
| 157 | libbd_crypto.so,
|
---|
| 158 | libbd_fs.so,
|
---|
| 159 | libbd_kbd.so,
|
---|
| 160 | libbd_loop.so,
|
---|
| 161 | libbd_lvm.so,
|
---|
| 162 | libbd_lvm-dbus.so,
|
---|
| 163 | libbd_mdraid.so,
|
---|
| 164 | libbd_mpath.so,
|
---|
| 165 | libbd_part.so,
|
---|
| 166 | libbd_part_err.so,
|
---|
| 167 | libbd_swap.so,
|
---|
| 168 | libbd_utils.so, and
|
---|
| 169 | libblockdev.so
|
---|
| 170 | </seg>
|
---|
| 171 | <seg>
|
---|
| 172 | /etc/libblockdev and
|
---|
| 173 | /usr/include/blockdev
|
---|
| 174 | </seg>
|
---|
| 175 | </seglistitem>
|
---|
| 176 | </segmentedlist>
|
---|
| 177 | <!--
|
---|
| 178 | <variablelist>
|
---|
| 179 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 180 | <?dbfo list-presentation="list"?>
|
---|
| 181 | <?dbhtml list-presentation="table"?>
|
---|
| 182 |
|
---|
| 183 | <varlistentry id="libblockdev.so">
|
---|
| 184 | <term><filename class="libraryfile">libblockdev.so</filename></term>
|
---|
| 185 | <listitem>
|
---|
| 186 | <para>
|
---|
| 187 | provides ????? - see intro
|
---|
| 188 | </para>
|
---|
| 189 | <indexterm zone="libblockdev libblockdev.so">
|
---|
| 190 | <primary sortas="c-libblockdev.so">libblockdev.so</primary>
|
---|
| 191 | </indexterm>
|
---|
| 192 | </listitem>
|
---|
| 193 | </varlistentry>
|
---|
| 194 |
|
---|
| 195 | </variablelist>
|
---|
| 196 | -->
|
---|
| 197 | </sect2>
|
---|
| 198 |
|
---|
| 199 | </sect1>
|
---|