glfs/general/genlib/libblockdev.xml

194 lines
5.4 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY libblockdev-download-http
"https://github.com/storaged-project/libblockdev/releases/download/&libblockdev-version;-1/libblockdev-&libblockdev-version;.tar.gz">
<!ENTITY libblockdev-download-ftp " ">
<!ENTITY libblockdev-md5sum "d01296478678e8bd7281ba250175c675">
<!ENTITY libblockdev-size "752 KB">
<!ENTITY libblockdev-buildsize "13 MB">
<!ENTITY libblockdev-time "0.1 SBU">
]>
<sect1 id="libblockdev" xreflabel="libblockdev-&libblockdev-version;">
<?dbhtml filename="libblockdev.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>libblockdev-&libblockdev-version;</title>
<indexterm zone="libblockdev">
<primary sortas="a-libblockdev">libblockdev</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to libblockdev</title>
<para>
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).
</para>
&lfs82_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&libblockdev-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&libblockdev-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &libblockdev-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &libblockdev-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &libblockdev-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &libblockdev-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">libblockdev Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="gobject-introspection"/>,
<xref linkend="libbytesize"/>,
<xref linkend="parted"/>, and
<xref linkend="volume_key"/>
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="btrfs-progs"/>,
<xref linkend="gtk-doc"/>,
<xref linkend="mdadm"/>,
<ulink url="http://dmraid.sourcearchive.com/">dmraid</ulink>, and
<ulink url="http://bcachefs.org/">bcachefs</ulink>
<ulink url="https://github.com/pmem/ndctl">ndctl</ulink>
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/libblockdev"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of libblockdev</title>
<para>
Install <application>libblockdev</application> by running
the following commands:
</para>
<screen><userinput>./configure --prefix=/usr \
--sysconfdir=/etc \
--with-python3 \
--without-gtk-doc \
--without-nvdimm \
--without-dm &amp;&amp;
make</userinput></screen>
<para>
This package does not come with a working test suite.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<!--
<sect2 role="commands">
<title>Command Explanations</title>
</sect2>
-->
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
None
</seg>
<seg>
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, and
libblockdev.so
</seg>
<seg>
/etc/libblockdev,
/usr/include/blockdev, and
/usr/share/gtk-doc/html/libblockdev
</seg>
</seglistitem>
</segmentedlist>
<!--
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="libblockdev.so">
<term><filename class="libraryfile">libblockdev.so</filename></term>
<listitem>
<para>
provides ????? - see intro
</para>
<indexterm zone="libblockdev libblockdev.so">
<primary sortas="c-libblockdev.so">libblockdev.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
-->
</sect2>
</sect1>