source: general/genlib/libblockdev.xml@ bf565e06

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since bf565e06 was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 18 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

  • Property mode set to 100644
File size: 5.6 KB
Line 
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/releases/download/&libblockdev-version;-1/libblockdev-&libblockdev-version;.tar.gz">
9 <!ENTITY libblockdev-download-ftp " ">
10 <!ENTITY libblockdev-md5sum "6476e5967753ee03d8e65f4d7837a4b6">
11 <!ENTITY libblockdev-size "908 KB">
12 <!ENTITY libblockdev-buildsize "14 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
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>
30 libblockdev is a C library supporting GObject Introspection for
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
37 &lfs112_checked;
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"/>,
78 <xref linkend="libbytesize"/>,
79 <xref linkend="libyaml"/>,
80 <xref linkend="parted"/>, and
81 <xref linkend="volume_key"/>
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"/>,
89 <ulink url="https://people.redhat.com/~heinzm/sw/dmraid/">dmraid</ulink>,
90 <ulink url="https://bcachefs.org/">bcachefs</ulink>, and
91 <ulink url="https://github.com/pmem/ndctl">ndctl</ulink>
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>
101<!--
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>
109-->
110 <para>
111 Install <application>libblockdev</application> by running
112 the following commands:
113 </para>
114
115<screen><userinput>./configure --prefix=/usr \
116 --sysconfdir=/etc \
117 --with-python3 \
118 --without-gtk-doc \
119 --without-nvdimm \
120 --without-dm &amp;&amp;
121make</userinput></screen>
122
123 <para>
124 This package does not come with a working test suite.
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>
151 lvm-cache-stats
152 </seg>
153 <seg>
154 libbd_btrfs.so,
155 libbd_crypto.so,
156 libbd_fs.so,
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,
166 libbd_utils.so,
167 libbd_vdo.so, and
168 libblockdev.so
169 </seg>
170 <seg>
171 /etc/libblockdev,
172 /usr/include/blockdev, and
173 /usr/share/gtk-doc/html/libblockdev
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="lvm-cache-stats">
184 <term><command>lvm-cache-stats</command></term>
185 <listitem>
186 <para>
187 prints statistics on caches on LVM Logical Volumes
188 </para>
189 <indexterm zone="libblockdev lvm-cache-stats">
190 <primary sortas="b-lvm-cache-stats">lvm-cache-stats</primary>
191 </indexterm>
192 </listitem>
193 </varlistentry>
194
195 </variablelist>
196
197 </sect2>
198
199</sect1>
Note: See TracBrowser for help on using the repository browser.