source: general/genlib/libblockdev.xml@ b6ddf49

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since b6ddf49 was cb594b6c, checked in by Xi Ruoyao <xry111@…>, 12 months ago

general: Remove non-exist User Notes link

Part of User Notes removal by
https://www.linuxfromscratch.org/~xry111/remove-nonexist-usernote.sh

  • Property mode set to 100644
File size: 5.5 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 &lfs113_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 </sect2>
95
96 <sect2 role="installation">
97 <title>Installation of libblockdev</title>
98<!--
99 <para>
100 Fix the usage of a glib function deprecated for security:
101 </para>
102
103<screen><userinput>sed 's/g_memdup/&amp;2/' -i \
104 src/lib/plugin_apis/vdo.{c,api} \
105 src/plugins/vdo.c</userinput></screen>
106-->
107 <para>
108 Install <application>libblockdev</application> by running
109 the following commands:
110 </para>
111
112<screen><userinput>./configure --prefix=/usr \
113 --sysconfdir=/etc \
114 --with-python3 \
115 --without-gtk-doc \
116 --without-nvdimm \
117 --without-dm &amp;&amp;
118make</userinput></screen>
119
120 <para>
121 This package does not come with a working test suite.
122 </para>
123
124 <para>
125 Now, as the <systemitem class="username">root</systemitem> user:
126 </para>
127
128<screen role="root"><userinput>make install</userinput></screen>
129
130 </sect2>
131<!--
132 <sect2 role="commands">
133 <title>Command Explanations</title>
134
135
136 </sect2>
137-->
138 <sect2 role="content">
139 <title>Contents</title>
140
141 <segmentedlist>
142 <segtitle>Installed Programs</segtitle>
143 <segtitle>Installed Libraries</segtitle>
144 <segtitle>Installed Directories</segtitle>
145
146 <seglistitem>
147 <seg>
148 lvm-cache-stats
149 </seg>
150 <seg>
151 libbd_btrfs.so,
152 libbd_crypto.so,
153 libbd_fs.so,
154 libbd_kbd.so,
155 libbd_loop.so,
156 libbd_lvm.so,
157 libbd_lvm-dbus.so,
158 libbd_mdraid.so,
159 libbd_mpath.so,
160 libbd_part.so,
161 libbd_part_err.so,
162 libbd_swap.so,
163 libbd_utils.so,
164 libbd_vdo.so, and
165 libblockdev.so
166 </seg>
167 <seg>
168 /etc/libblockdev,
169 /usr/include/blockdev, and
170 /usr/share/gtk-doc/html/libblockdev
171 </seg>
172 </seglistitem>
173 </segmentedlist>
174
175 <variablelist>
176 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
177 <?dbfo list-presentation="list"?>
178 <?dbhtml list-presentation="table"?>
179
180 <varlistentry id="lvm-cache-stats">
181 <term><command>lvm-cache-stats</command></term>
182 <listitem>
183 <para>
184 prints statistics on caches on LVM Logical Volumes
185 </para>
186 <indexterm zone="libblockdev lvm-cache-stats">
187 <primary sortas="b-lvm-cache-stats">lvm-cache-stats</primary>
188 </indexterm>
189 </listitem>
190 </varlistentry>
191
192 </variablelist>
193
194 </sect2>
195
196</sect1>
Note: See TracBrowser for help on using the repository browser.