source: postlfs/filesystems/parted.xml@ 7d13fec

11.3 12.0 12.1 gimp3 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/soup3 xry111/xf86-video-removal
Last change on this file since 7d13fec was 48cb482, checked in by Bruce Dubbs <bdubbs@…>, 2 years ago

Just tags

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