source: general/genlib/libblockdev.xml@ 2a89d308

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 2a89d308 was acd88fc, checked in by Bruce Dubbs <bdubbs@…>, 17 months ago

Tags and move 2 unneeded files

  • Property mode set to 100644
File size: 5.6 KB
RevLine 
[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 " ">
[498e62a]10 <!ENTITY libblockdev-md5sum "6476e5967753ee03d8e65f4d7837a4b6">
11 <!ENTITY libblockdev-size "908 KB">
12 <!ENTITY libblockdev-buildsize "14 MB">
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
20 <title>libblockdev-&libblockdev-version;</title>
21
22 <indexterm zone="libblockdev">
23 <primary sortas="a-libblockdev">libblockdev</primary>
24 </indexterm>
25
26 <sect2 role="package">
27 <title>Introduction to libblockdev</title>
28
29 <para>
[0ecaac7]30 libblockdev is a C library supporting GObject Introspection for
[6dcb9e77]31 manipulation of block devices. It has a plugin-based architecture where
32 each technology (like LVM, Btrfs, MD RAID, Swap,...) is implemented in a
33 separate plugin, possibly with multiple implementations (e.g. using LVM
34 CLI or the new LVM DBus API).
35 </para>
36
[acd88fc]37 &lfs113_checked;
[6dcb9e77]38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&libblockdev-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&libblockdev-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &libblockdev-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &libblockdev-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &libblockdev-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &libblockdev-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">libblockdev Dependencies</bridgehead>
74
75 <bridgehead renderas="sect4">Required</bridgehead>
76 <para role="required">
77 <xref linkend="gobject-introspection"/>,
[8558044]78 <xref linkend="libbytesize"/>,
[b738ceb]79 <xref linkend="libyaml"/>,
[8558044]80 <xref linkend="parted"/>, and
[b738ceb]81 <xref linkend="volume_key"/>
[6dcb9e77]82 </para>
83
84 <bridgehead renderas="sect4">Optional</bridgehead>
85 <para role="optional">
86 <xref linkend="btrfs-progs"/>,
87 <xref linkend="gtk-doc"/>,
88 <xref linkend="mdadm"/>,
[c6b192c]89 <ulink url="https://people.redhat.com/~heinzm/sw/dmraid/">dmraid</ulink>,
[36aab55]90 <ulink url="https://bcachefs.org/">bcachefs</ulink>, and
[16dc2c74]91 <ulink url="https://github.com/pmem/ndctl">ndctl</ulink>
[6dcb9e77]92 </para>
93
94 <para condition="html" role="usernotes">User Notes:
95 <ulink url="&blfs-wiki;/libblockdev"/>
96 </para>
97 </sect2>
98
99 <sect2 role="installation">
100 <title>Installation of libblockdev</title>
[ca31bd3]101<!--
[ce8e472]102 <para>
103 Fix the usage of a glib function deprecated for security:
104 </para>
105
106<screen><userinput>sed 's/g_memdup/&amp;2/' -i \
107 src/lib/plugin_apis/vdo.{c,api} \
108 src/plugins/vdo.c</userinput></screen>
[ca31bd3]109-->
[6dcb9e77]110 <para>
111 Install <application>libblockdev</application> by running
112 the following commands:
113 </para>
114
[60ddbaf]115<screen><userinput>./configure --prefix=/usr \
[ce794256]116 --sysconfdir=/etc \
[66d9ef8]117 --with-python3 \
118 --without-gtk-doc \
[16dc2c74]119 --without-nvdimm \
[ce794256]120 --without-dm &amp;&amp;
[6dcb9e77]121make</userinput></screen>
122
123 <para>
[453073a8]124 This package does not come with a working test suite.
[6dcb9e77]125 </para>
126
127 <para>
128 Now, as the <systemitem class="username">root</systemitem> user:
129 </para>
130
131<screen role="root"><userinput>make install</userinput></screen>
132
133 </sect2>
134<!--
135 <sect2 role="commands">
136 <title>Command Explanations</title>
137
138
139 </sect2>
140-->
141 <sect2 role="content">
142 <title>Contents</title>
143
144 <segmentedlist>
145 <segtitle>Installed Programs</segtitle>
146 <segtitle>Installed Libraries</segtitle>
147 <segtitle>Installed Directories</segtitle>
148
149 <seglistitem>
150 <seg>
[4163b584]151 lvm-cache-stats
[6dcb9e77]152 </seg>
153 <seg>
[8558044]154 libbd_btrfs.so,
[6dcb9e77]155 libbd_crypto.so,
[8558044]156 libbd_fs.so,
[6dcb9e77]157 libbd_kbd.so,
158 libbd_loop.so,
159 libbd_lvm.so,
160 libbd_lvm-dbus.so,
161 libbd_mdraid.so,
162 libbd_mpath.so,
163 libbd_part.so,
164 libbd_part_err.so,
165 libbd_swap.so,
[4163b584]166 libbd_utils.so,
167 libbd_vdo.so, and
[6dcb9e77]168 libblockdev.so
169 </seg>
170 <seg>
[fa30d84]171 /etc/libblockdev,
172 /usr/include/blockdev, and
173 /usr/share/gtk-doc/html/libblockdev
[6dcb9e77]174 </seg>
175 </seglistitem>
176 </segmentedlist>
[4163b584]177
[6dcb9e77]178 <variablelist>
179 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
180 <?dbfo list-presentation="list"?>
181 <?dbhtml list-presentation="table"?>
182
[4163b584]183 <varlistentry id="lvm-cache-stats">
184 <term><command>lvm-cache-stats</command></term>
[6dcb9e77]185 <listitem>
186 <para>
[4c24eb0a]187 prints statistics on caches on LVM Logical Volumes
[6dcb9e77]188 </para>
[4163b584]189 <indexterm zone="libblockdev lvm-cache-stats">
190 <primary sortas="b-lvm-cache-stats">lvm-cache-stats</primary>
[6dcb9e77]191 </indexterm>
192 </listitem>
193 </varlistentry>
194
195 </variablelist>
[4163b584]196
[6dcb9e77]197 </sect2>
198
199</sect1>
Note: See TracBrowser for help on using the repository browser.