[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 " ">
|
---|
| 10 | <!ENTITY libblockdev-md5sum "2044f9a5be5678b3524efa7a6baa373f">
|
---|
| 11 | <!ENTITY libblockdev-size "236 KB">
|
---|
| 12 | <!ENTITY libblockdev-buildsize "10 MB">
|
---|
| 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 |
|
---|
| 41 | &lfs80_checked;
|
---|
| 42 | &gcc7_checked;
|
---|
| 43 |
|
---|
| 44 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 45 | <itemizedlist spacing="compact">
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>
|
---|
| 48 | Download (HTTP): <ulink url="&libblockdev-download-http;"/>
|
---|
| 49 | </para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>
|
---|
| 53 | Download (FTP): <ulink url="&libblockdev-download-ftp;"/>
|
---|
| 54 | </para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>
|
---|
| 58 | Download MD5 sum: &libblockdev-md5sum;
|
---|
| 59 | </para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>
|
---|
| 63 | Download size: &libblockdev-size;
|
---|
| 64 | </para>
|
---|
| 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>
|
---|
| 68 | Estimated disk space required: &libblockdev-buildsize;
|
---|
| 69 | </para>
|
---|
| 70 | </listitem>
|
---|
| 71 | <listitem>
|
---|
| 72 | <para>
|
---|
| 73 | Estimated build time: &libblockdev-time;
|
---|
| 74 | </para>
|
---|
| 75 | </listitem>
|
---|
| 76 | </itemizedlist>
|
---|
| 77 |
|
---|
| 78 | <bridgehead renderas="sect3">libblockdev Dependencies</bridgehead>
|
---|
| 79 |
|
---|
| 80 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 81 | <para role="required">
|
---|
| 82 | <xref linkend="gobject-introspection"/>,
|
---|
| 83 | <xref linkend="libbytesize"/>,
|
---|
| 84 | <xref linkend="lvm2"/> (with device-mapper), and
|
---|
| 85 | <xref linkend="volume_key"/>
|
---|
| 86 | </para>
|
---|
| 87 |
|
---|
| 88 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 89 | <para role="recommended">
|
---|
| 90 | <xref linkend="python3"/>,
|
---|
| 91 | <xref linkend="nss"/>, and
|
---|
| 92 | <xref linkend="cryptsetup"/>
|
---|
| 93 | </para>
|
---|
| 94 |
|
---|
| 95 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 96 | <para role="optional">
|
---|
| 97 | <xref linkend="btrfs-progs"/>,
|
---|
| 98 | <xref linkend="gtk-doc"/>,
|
---|
| 99 | <xref linkend="mdadm"/>,
|
---|
| 100 | <xref linkend="parted"/>,
|
---|
| 101 | <xref linkend="python2"/>,
|
---|
| 102 | <ulink url="http://dmraid.sourcearchive.com/">dmraid</ulink>, and
|
---|
| 103 | <ulink url="http://bcachefs.org/">bcachefs</ulink>
|
---|
| 104 | </para>
|
---|
| 105 |
|
---|
| 106 | <para condition="html" role="usernotes">User Notes:
|
---|
| 107 | <ulink url="&blfs-wiki;/libblockdev"/>
|
---|
| 108 | </para>
|
---|
| 109 | </sect2>
|
---|
| 110 |
|
---|
| 111 | <sect2 role="installation">
|
---|
| 112 | <title>Installation of libblockdev</title>
|
---|
| 113 |
|
---|
| 114 | <para>
|
---|
| 115 | Install <application>libblockdev</application> by running
|
---|
| 116 | the following commands:
|
---|
| 117 | </para>
|
---|
| 118 |
|
---|
| 119 | <screen><userinput>sh autogen.sh &&
|
---|
| 120 |
|
---|
| 121 | ./configure --prefix=/usr \
|
---|
| 122 | --without-dm \
|
---|
| 123 | --sysconfdir=/etc &&
|
---|
| 124 | make</userinput></screen>
|
---|
| 125 |
|
---|
| 126 | <para>
|
---|
| 127 | This package does not come with a test suite.
|
---|
| 128 | </para>
|
---|
| 129 |
|
---|
| 130 | <para>
|
---|
| 131 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 132 | </para>
|
---|
| 133 |
|
---|
| 134 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 135 |
|
---|
| 136 | </sect2>
|
---|
| 137 | <!--
|
---|
| 138 | <sect2 role="commands">
|
---|
| 139 | <title>Command Explanations</title>
|
---|
| 140 |
|
---|
| 141 |
|
---|
| 142 | </sect2>
|
---|
| 143 | -->
|
---|
| 144 | <sect2 role="content">
|
---|
| 145 | <title>Contents</title>
|
---|
| 146 |
|
---|
| 147 | <segmentedlist>
|
---|
| 148 | <segtitle>Installed Programs</segtitle>
|
---|
| 149 | <segtitle>Installed Libraries</segtitle>
|
---|
| 150 | <segtitle>Installed Directories</segtitle>
|
---|
| 151 |
|
---|
| 152 | <seglistitem>
|
---|
| 153 | <seg>
|
---|
| 154 | None
|
---|
| 155 | </seg>
|
---|
| 156 | <seg>
|
---|
| 157 | libbd_btrfs.so,
|
---|
| 158 | libbd_crypto.so,
|
---|
| 159 | libbd_fs.so,
|
---|
| 160 | libbd_kbd.so,
|
---|
| 161 | libbd_loop.so,
|
---|
| 162 | libbd_lvm.so,
|
---|
| 163 | libbd_lvm-dbus.so,
|
---|
| 164 | libbd_mdraid.so,
|
---|
| 165 | libbd_mpath.so,
|
---|
| 166 | libbd_part.so,
|
---|
| 167 | libbd_part_err.so,
|
---|
| 168 | libbd_swap.so,
|
---|
| 169 | libbd_utils.so, and
|
---|
| 170 | libblockdev.so
|
---|
| 171 | </seg>
|
---|
| 172 | <seg>
|
---|
| 173 | /etc/libblockdev and
|
---|
| 174 | /usr/include/blockdev
|
---|
| 175 | </seg>
|
---|
| 176 | </seglistitem>
|
---|
| 177 | </segmentedlist>
|
---|
| 178 | <!--
|
---|
| 179 | <variablelist>
|
---|
| 180 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 181 | <?dbfo list-presentation="list"?>
|
---|
| 182 | <?dbhtml list-presentation="table"?>
|
---|
| 183 |
|
---|
| 184 | <varlistentry id="libblockdev.so">
|
---|
| 185 | <term><filename class="libraryfile">libblockdev.so</filename></term>
|
---|
| 186 | <listitem>
|
---|
| 187 | <para>
|
---|
| 188 | provides ????? - see intro
|
---|
| 189 | </para>
|
---|
| 190 | <indexterm zone="libblockdev libblockdev.so">
|
---|
| 191 | <primary sortas="c-libblockdev.so">libblockdev.so</primary>
|
---|
| 192 | </indexterm>
|
---|
| 193 | </listitem>
|
---|
| 194 | </varlistentry>
|
---|
| 195 |
|
---|
| 196 | </variablelist>
|
---|
| 197 | -->
|
---|
| 198 | </sect2>
|
---|
| 199 |
|
---|
| 200 | </sect1>
|
---|