mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-26 08:42:12 +08:00
203 lines
5.6 KiB
XML
203 lines
5.6 KiB
XML
<?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 "d022c1ebb9b9a838c1a8c8b2b781b69d">
|
|
<!ENTITY libblockdev-size "912 KB">
|
|
<!ENTITY libblockdev-buildsize "12 MB">
|
|
<!ENTITY libblockdev-time "0.2 SBU">
|
|
]>
|
|
|
|
<sect1 id="libblockdev" xreflabel="libblockdev-&libblockdev-version;">
|
|
<?dbhtml filename="libblockdev.html"?>
|
|
|
|
<sect1info>
|
|
<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>
|
|
|
|
&lfs111_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="libyaml"/>,
|
|
<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="https://people.redhat.com/~heinzm/sw/dmraid/">dmraid</ulink>,
|
|
<ulink url="http://bcachefs.org/">bcachefs</ulink>, and
|
|
<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>
|
|
Fix the usage of a glib function deprecated for security:
|
|
</para>
|
|
|
|
<screen><userinput>sed 's/g_memdup/&2/' -i \
|
|
src/lib/plugin_apis/vdo.{c,api} \
|
|
src/plugins/vdo.c</userinput></screen>
|
|
-->
|
|
<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 &&
|
|
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>
|
|
lvm-cache-stats
|
|
</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,
|
|
libbd_vdo.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="lvm-cache-stats">
|
|
<term><command>lvm-cache-stats</command></term>
|
|
<listitem>
|
|
<para>
|
|
prints statistics on caches on LVM Logical Volumes
|
|
</para>
|
|
<indexterm zone="libblockdev lvm-cache-stats">
|
|
<primary sortas="b-lvm-cache-stats">lvm-cache-stats</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|