source: postlfs/filesystems/parted.xml@ 8558044

11.1 11.2 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 upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 8558044 was 8558044, checked in by Pierre Labastie <pierre.labastie@…>, 3 years ago

Remove spaces at the end of lines

I know it is somewhat useless, but I don't like them for
two reasons: first they cannot be seen, and I do not like things I
cannot see. Second, git highlights them, and this is disturbing...

  • Property mode set to 100644
File size: 8.2 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 parted-download-http "&gnu-http;/parted/parted-&parted-version;.tar.xz">
8 <!ENTITY parted-download-ftp "&gnu-ftp;/parted/parted-&parted-version;.tar.xz">
9 <!ENTITY parted-md5sum "357d19387c6e7bc4a8a90fe2d015fe80">
10 <!ENTITY parted-size "1.7 MB">
11 <!ENTITY parted-buildsize "34 MB (additional 3 MB for the tests and additional 2 MB for optional PDF and Postscript documentation)">
12 <!ENTITY parted-time "0.3 SBU (additional 2.5 SBU for the tests)">
13]>
14
15<sect1 id="parted" xreflabel="parted-&parted-version;">
16 <?dbhtml filename="parted.html"?>
17
18 <sect1info>
19 <date>$Date$</date>
20 </sect1info>
21
22 <title>parted-&parted-version;</title>
23
24 <indexterm zone="parted">
25 <primary sortas="a-parted">Parted</primary>
26 </indexterm>
27
28 <sect2 role="package">
29 <title>Introduction to parted</title>
30
31 <para>
32 The <application>Parted</application> package is a disk partitioning and
33 partition resizing tool.
34 </para>
35
36 &lfs110a_checked;
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>
42 Download (HTTP): <ulink url="&parted-download-http;"/>
43 </para>
44 </listitem>
45 <listitem>
46 <para>
47 Download (FTP): <ulink url="&parted-download-ftp;"/>
48 </para>
49 </listitem>
50 <listitem>
51 <para>
52 Download MD5 sum: &parted-md5sum;
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Download size: &parted-size;
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Estimated disk space required: &parted-buildsize;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Estimated build time: &parted-time;
68 </para>
69 </listitem>
70 </itemizedlist>
71 <!--
72 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
73 <itemizedlist spacing="compact">
74 <listitem>
75 <para>
76 Optional, to fix build without device mapper support: <ulink
77 url="&patch-root;/parted-&parted-version;-devmapper-1.patch"/>
78 </para>
79 </listitem>
80 </itemizedlist>
81 This seems to be unneeded now. The fix was merged. -->
82 <bridgehead renderas="sect3">Parted Dependencies</bridgehead>
83
84 <bridgehead renderas="sect4">Recommended</bridgehead>
85 <para role="recommended">
86 <xref linkend="lvm2"/> (device-mapper, required if building
87 <application>udisks</application>)
88 </para>
89
90 <bridgehead renderas="sect4">Optional</bridgehead>
91 <para role="optional">
92 <xref linkend="dosfstools"/>,
93 <xref linkend="pth"/>,
94 <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>), and
95 <ulink url="https://metacpan.org/pod/Digest::CRC">Digest::CRC</ulink> (for tests)
96 </para>
97
98 <para condition="html" role="usernotes">
99 User Notes: <ulink url="&blfs-wiki;/parted"/>
100 </para>
101 </sect2>
102
103 <sect2 role="installation">
104 <title>Installation of parted</title>
105 <!--
106 <para>
107 If you want to build without device mapper support, a fix is necessary:
108 </para>
109
110<screen><userinput>patch -Np1 -i ../parted-&parted-version;-devmapper-1.patch</userinput></screen>
111 -->
112 <para>
113 Install <application>Parted</application> by running the following
114 commands:
115 </para>
116
117<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
118make &amp;&amp;
119
120make -C doc html &amp;&amp;
121makeinfo --html -o doc/html doc/parted.texi &amp;&amp;
122makeinfo --plaintext -o doc/parted.txt doc/parted.texi</userinput></screen>
123
124 <para>
125 If you have <xref linkend="texlive"/> installed and wish to create
126 PDF and Postcript documentation issue the following commands:
127 </para>
128
129<screen remap="doc"><userinput>texi2pdf -o doc/parted.pdf doc/parted.texi &amp;&amp;
130texi2dvi -o doc/parted.dvi doc/parted.texi &amp;&amp;
131dvips -o doc/parted.ps doc/parted.dvi</userinput></screen>
132
133<!-- Not needed with 3.4!
134 <para>
135 If you wish to run the test suite, first remove a couple of tests
136 that are known to fail in a BLFS environment. And, adjust two Python
137 scripts to use Python 3, in case Python 2 is not installed:
138 </para>
139 <!- - One of these is due to a C locale, and another is a problem in LVM. - ->
140<screen remap="test"><userinput>sed -i '/t0251-gpt-unicode.sh/d' tests/Makefile &amp;&amp;
141sed -i '/t6002-dm-busy.sh/d' tests/Makefile &amp;&amp;
142sed -i '1s/python/&amp;3/' tests/{gpt-header-move,msdos-overlap}</userinput></screen>
143-->
144 <para>
145 To test the results, issue, as the <systemitem
146 class="username">root</systemitem> user:
147 </para>
148
149<screen role="root"
150 remap="test"><userinput>make check</userinput></screen>
151
152 <note>
153 <para>
154 Many tests are skipped if not run as the <systemitem
155 class="username">root</systemitem> user.
156 </para>
157 </note>
158
159 <para>
160 Now, as the <systemitem class="username">root</systemitem> user:
161 </para>
162
163<screen role="root"><userinput>make install &amp;&amp;
164install -v -m755 -d /usr/share/doc/parted-&parted-version;/html &amp;&amp;
165install -v -m644 doc/html/* \
166 /usr/share/doc/parted-&parted-version;/html &amp;&amp;
167install -v -m644 doc/{FAT,API,parted.{txt,html}} \
168 /usr/share/doc/parted-&parted-version;</userinput></screen>
169
170 <para>
171 Install the optional PDF and Postscript documentation by issuing the
172 following command as the <systemitem class="username">root</systemitem>
173 user:
174 </para>
175
176<screen role="root"
177 remap="doc"><userinput>install -v -m644 doc/FAT doc/API doc/parted.{pdf,ps,dvi} \
178 /usr/share/doc/parted-&parted-version;</userinput></screen>
179 </sect2>
180
181 <sect2 role="commands">
182 <title>Command Explanations</title>
183
184 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
185 href="../../xincludes/static-libraries.xml"/>
186
187 <para>
188 <option>--disable-device-mapper</option>: This option disables device
189 mapper support. Add this parameter if you have not installed
190 <application>LVM2</application>.
191 </para>
192 </sect2>
193
194 <sect2 role="content">
195 <title>Contents</title>
196
197 <segmentedlist>
198 <segtitle>Installed Programs</segtitle>
199 <segtitle>Installed Libraries</segtitle>
200 <segtitle>Installed Directories</segtitle>
201
202 <seglistitem>
203 <seg>
204 parted and
205 partprobe
206 </seg>
207 <seg>
208 libparted.so and
209 libparted-fs-resize.so</seg>
210 <seg>
211 /usr/include/parted and
212 /usr/share/doc/parted-&parted-version;</seg>
213 </seglistitem>
214 </segmentedlist>
215
216 <variablelist>
217 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
218 <?dbfo list-presentation="list"?>
219 <?dbhtml list-presentation="table"?>
220
221 <varlistentry id="parted-prog">
222 <term><command>parted</command></term>
223 <listitem>
224 <para>
225 is a partition manipulation program
226 </para>
227 <indexterm zone="parted parted-prog">
228 <primary sortas="b-parted">parted</primary>
229 </indexterm>
230 </listitem>
231 </varlistentry>
232
233 <varlistentry id="partprobe">
234 <term><command>partprobe</command></term>
235 <listitem>
236 <para>
237 informs the OS of partition table changes
238 </para>
239 <indexterm zone="parted partprobe">
240 <primary sortas="b-partprobe">partprobe</primary>
241 </indexterm>
242 </listitem>
243 </varlistentry>
244
245 <varlistentry id="libparted">
246 <term><filename class="libraryfile">libparted.so</filename></term>
247 <listitem>
248 <para>
249 contains the <application>Parted</application> API functions
250 </para>
251 <indexterm zone="parted libparted">
252 <primary sortas="c-libparted">libparted.so</primary>
253 </indexterm>
254 </listitem>
255 </varlistentry>
256 </variablelist>
257 </sect2>
258
259</sect1>
Note: See TracBrowser for help on using the repository browser.