source: postlfs/filesystems/parted.xml@ 12cb8c2d

7.6-blfs 7.6-systemd kde5-14269 kde5-14686 systemd-13485
Last change on this file since 12cb8c2d was 12cb8c2d, checked in by Krejzi <krejzi@…>, 10 years ago

Checks and fixes.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@14029 af4574ff-66df-0310-9fd7-8a98e5e911e0

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