source: postlfs/filesystems/parted.xml@ bc0d10e

10.0 10.1 11.0 9.1 ken/refactor-virt lazarus qt5new trunk upgradedb xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since bc0d10e was bc0d10e, checked in by Douglas R. Reno <renodr@…>, 2 years ago

Update to mutter-3.34.3
libarchive: Remove dependency on zstd
parted: Add optional dependency on dosfstools

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22598 af4574ff-66df-0310-9fd7-8a98e5e911e0

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