source: postlfs/filesystems/parted.xml@ d7f8f6d

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods 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 d7f8f6d was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 20 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

  • Property mode set to 100644
File size: 8.5 KB
RevLine 
[2875f488]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
[8dfc5c3]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">
[7be8b4f]9 <!ENTITY parted-md5sum "336fde60786d5855b3876ee49ef1e6b2">
10 <!ENTITY parted-size "1.8 MB">
11 <!ENTITY parted-buildsize "33 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 3.6 SBU for the tests)">
[2875f488]13]>
14
[810a2c6]15<sect1 id="parted" xreflabel="parted-&parted-version;">
[2875f488]16 <?dbhtml filename="parted.html"?>
17
18
[810a2c6]19 <title>parted-&parted-version;</title>
[2875f488]20
21 <indexterm zone="parted">
[810a2c6]22 <primary sortas="a-parted">Parted</primary>
[2875f488]23 </indexterm>
24
25 <sect2 role="package">
[810a2c6]26 <title>Introduction to parted</title>
[2875f488]27
[49b0f95]28 <para>
29 The <application>Parted</application> package is a disk partitioning and
30 partition resizing tool.
31 </para>
[2875f488]32
[48cb482]33 &lfs112_checked;
[e4123d2]34
[2875f488]35 <bridgehead renderas="sect3">Package Information</bridgehead>
36 <itemizedlist spacing="compact">
37 <listitem>
[29244b7]38 <para>
39 Download (HTTP): <ulink url="&parted-download-http;"/>
40 </para>
[2875f488]41 </listitem>
42 <listitem>
[29244b7]43 <para>
44 Download (FTP): <ulink url="&parted-download-ftp;"/>
45 </para>
[2875f488]46 </listitem>
47 <listitem>
[29244b7]48 <para>
49 Download MD5 sum: &parted-md5sum;
50 </para>
[2875f488]51 </listitem>
52 <listitem>
[29244b7]53 <para>
54 Download size: &parted-size;
55 </para>
[2875f488]56 </listitem>
57 <listitem>
[29244b7]58 <para>
59 Estimated disk space required: &parted-buildsize;
60 </para>
[2875f488]61 </listitem>
62 <listitem>
[29244b7]63 <para>
64 Estimated build time: &parted-time;
65 </para>
[2875f488]66 </listitem>
67 </itemizedlist>
[cdf0106]68 <!--
[6e08e9c0]69 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
70 <itemizedlist spacing="compact">
71 <listitem>
72 <para>
[29244b7]73 Optional, to fix build without device mapper support: <ulink
74 url="&patch-root;/parted-&parted-version;-devmapper-1.patch"/>
[6e08e9c0]75 </para>
76 </listitem>
77 </itemizedlist>
[cdf0106]78 This seems to be unneeded now. The fix was merged. -->
[2875f488]79 <bridgehead renderas="sect3">Parted Dependencies</bridgehead>
80
[49b0f95]81 <bridgehead renderas="sect4">Recommended</bridgehead>
82 <para role="recommended">
[0d7900a]83 <xref linkend="lvm2"/> (device-mapper, required if building
[49b0f95]84 <application>udisks</application>)
[8bc3edae]85 </para>
[2875f488]86
[5f1ca9f]87 <bridgehead renderas="sect4">Optional</bridgehead>
88 <para role="optional">
[bc0d10e]89 <xref linkend="dosfstools"/>,
[8558044]90 <xref linkend="pth"/>,
[cdf0106]91 <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>), and
92 <ulink url="https://metacpan.org/pod/Digest::CRC">Digest::CRC</ulink> (for tests)
[5f1ca9f]93 </para>
94
[49b0f95]95 <para condition="html" role="usernotes">
96 User Notes: <ulink url="&blfs-wiki;/parted"/>
97 </para>
[2875f488]98 </sect2>
99
[7be8b4f]100 <sect2 role="kernel" id="parted-kernel">
101 <title>Optional Kernel Configuration for Tests</title>
102
103 <para>
104 About 20 % more tests are run if the following kernel module is built:
105 </para>
106
107<screen><literal>Device Drivers ---&gt;
108 SCSI device support ---&gt;
109 [*] SCSI low-level drivers ---&gt; [CONFIG_SCSI_LOW_LEVEL]
[d2e6aa7d]110 &lt;M&gt; SCSI debugging host and device simulator [CONFIG_SCSI_DEBUG]</literal></screen>
[7be8b4f]111
112 <indexterm zone="parted parted-kernel">
113 <primary sortas="d-parted">parted</primary>
114 </indexterm>
115 </sect2>
116
[2875f488]117 <sect2 role="installation">
[810a2c6]118 <title>Installation of parted</title>
[cdf0106]119 <!--
[6e08e9c0]120 <para>
121 If you want to build without device mapper support, a fix is necessary:
122 </para>
123
124<screen><userinput>patch -Np1 -i ../parted-&parted-version;-devmapper-1.patch</userinput></screen>
[cdf0106]125 -->
[49b0f95]126 <para>
127 Install <application>Parted</application> by running the following
128 commands:
129 </para>
[2875f488]130
[cdf0106]131<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
[9ca304a]132make &amp;&amp;
133
134make -C doc html &amp;&amp;
135makeinfo --html -o doc/html doc/parted.texi &amp;&amp;
136makeinfo --plaintext -o doc/parted.txt doc/parted.texi</userinput></screen>
137
[29244b7]138 <para>
139 If you have <xref linkend="texlive"/> installed and wish to create
[b9c353b]140 PDF and Postscript documentation issue the following commands:
[29244b7]141 </para>
[9ca304a]142
[2f3e3de9]143<screen remap="doc"><userinput>texi2pdf -o doc/parted.pdf doc/parted.texi &amp;&amp;
[9ca304a]144texi2dvi -o doc/parted.dvi doc/parted.texi &amp;&amp;
145dvips -o doc/parted.ps doc/parted.dvi</userinput></screen>
[2875f488]146
[cf67717]147 <para>
[2f3e3de9]148 To test the results, issue, as the <systemitem
149 class="username">root</systemitem> user:
[cf67717]150 </para>
[2875f488]151
[06908bf6]152<screen role="root"
153 remap="test"><userinput>make check</userinput></screen>
[2f3e3de9]154
[7be8b4f]155<!-- For devs: several tests are skipped with the message
156 "FS test with sector size != 512". This is expected since the same tests
157 are run with simulated sector of 1024, 2048, and 4096 bytes; only the
158 last group of tests is done with simulated sector size of 512, so that
159 less tests are skipped.-->
[2f3e3de9]160 <note>
161 <para>
162 Many tests are skipped if not run as the <systemitem
163 class="username">root</systemitem> user.
164 </para>
165 </note>
166
[49b0f95]167 <para>
168 Now, as the <systemitem class="username">root</systemitem> user:
169 </para>
[2875f488]170
[9ca304a]171<screen role="root"><userinput>make install &amp;&amp;
[b141cb2]172install -v -m755 -d /usr/share/doc/parted-&parted-version;/html &amp;&amp;
[9ca304a]173install -v -m644 doc/html/* \
[b141cb2]174 /usr/share/doc/parted-&parted-version;/html &amp;&amp;
[9ca304a]175install -v -m644 doc/{FAT,API,parted.{txt,html}} \
[b141cb2]176 /usr/share/doc/parted-&parted-version;</userinput></screen>
[9ca304a]177
[29244b7]178 <para>
179 Install the optional PDF and Postscript documentation by issuing the
180 following command as the <systemitem class="username">root</systemitem>
181 user:
182 </para>
[9ca304a]183
[2f3e3de9]184<screen role="root"
185 remap="doc"><userinput>install -v -m644 doc/FAT doc/API doc/parted.{pdf,ps,dvi} \
[b141cb2]186 /usr/share/doc/parted-&parted-version;</userinput></screen>
[2875f488]187 </sect2>
188
189 <sect2 role="commands">
190 <title>Command Explanations</title>
191
[49b0f95]192 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
193 href="../../xincludes/static-libraries.xml"/>
[2875f488]194
[49b0f95]195 <para>
196 <option>--disable-device-mapper</option>: This option disables device
197 mapper support. Add this parameter if you have not installed
198 <application>LVM2</application>.
199 </para>
[2875f488]200 </sect2>
201
202 <sect2 role="content">
203 <title>Contents</title>
204
205 <segmentedlist>
206 <segtitle>Installed Programs</segtitle>
[5f1ca9f]207 <segtitle>Installed Libraries</segtitle>
208 <segtitle>Installed Directories</segtitle>
[2875f488]209
210 <seglistitem>
[49b0f95]211 <seg>
212 parted and
213 partprobe
214 </seg>
[5f1ca9f]215 <seg>
216 libparted.so and
217 libparted-fs-resize.so</seg>
218 <seg>
219 /usr/include/parted and
220 /usr/share/doc/parted-&parted-version;</seg>
[2875f488]221 </seglistitem>
222 </segmentedlist>
223
224 <variablelist>
225 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
226 <?dbfo list-presentation="list"?>
227 <?dbhtml list-presentation="table"?>
228
229 <varlistentry id="parted-prog">
230 <term><command>parted</command></term>
231 <listitem>
[29244b7]232 <para>
[4c24eb0a]233 is a partition manipulation program
[29244b7]234 </para>
[2875f488]235 <indexterm zone="parted parted-prog">
236 <primary sortas="b-parted">parted</primary>
237 </indexterm>
238 </listitem>
239 </varlistentry>
240
241 <varlistentry id="partprobe">
242 <term><command>partprobe</command></term>
243 <listitem>
[29244b7]244 <para>
[4c24eb0a]245 informs the OS of partition table changes
[29244b7]246 </para>
[2875f488]247 <indexterm zone="parted partprobe">
248 <primary sortas="b-partprobe">partprobe</primary>
249 </indexterm>
250 </listitem>
251 </varlistentry>
252
253 <varlistentry id="libparted">
[4c24eb0a]254 <term><filename class="libraryfile">libparted.so</filename></term>
[2875f488]255 <listitem>
[49b0f95]256 <para>
[4c24eb0a]257 contains the <application>Parted</application> API functions
[49b0f95]258 </para>
[2875f488]259 <indexterm zone="parted libparted">
[49b0f95]260 <primary sortas="c-libparted">libparted.so</primary>
[2875f488]261 </indexterm>
262 </listitem>
263 </varlistentry>
264 </variablelist>
265 </sect2>
[4c24eb0a]266
[2875f488]267</sect1>
Note: See TracBrowser for help on using the repository browser.