source: postlfs/filesystems/parted.xml@ d81eda8

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.6 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules 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 d81eda8 was d81eda8, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

parted-3.2: remove test t0251-gpt-unicode.sh.
Update to gdb-7.8.
Update to libndp-1.4.
Update to gpgme-1.5.1.
Update to dhcpcd-6.4.3.
Update to cups-1.7.5 and separete internal from external optional dependencies.

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

  • Property mode set to 100644
File size: 6.8 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 &lfs75_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">Parted Dependencies</bridgehead>
63
64 <bridgehead renderas="sect4">Recommended</bridgehead>
65 <para role="recommended">
66 <xref linkend="lvm2"/> (device-mapper, required if building
67 <application>udisks</application>)
68 </para>
69
70 <bridgehead renderas="sect4">Optional</bridgehead>
71 <para role="optional">
72 <xref linkend="pth"/>
73 </para>
74
75 <para condition="html" role="usernotes">
76 User Notes: <ulink url="&blfs-wiki;/parted"/>
77 </para>
78 </sect2>
79
80 <sect2 role="installation">
81 <title>Installation of parted</title>
82
83 <para>
84 Install <application>Parted</application> by running the following
85 commands:
86 </para>
87
88<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
89make &amp;&amp;
90
91make -C doc html &amp;&amp;
92makeinfo --html -o doc/html doc/parted.texi &amp;&amp;
93makeinfo --plaintext -o doc/parted.txt doc/parted.texi</userinput></screen>
94
95 <para>If you have <xref linkend="texlive"/> installed and wish to create
96 PDF and Postcript documentation issue the following commands:</para>
97
98<screen><userinput>texi2pdf -o doc/parted.pdf doc/parted.texi &amp;&amp;
99texi2dvi -o doc/parted.dvi doc/parted.texi &amp;&amp;
100dvips -o doc/parted.ps doc/parted.dvi</userinput></screen>
101
102 <para>If you wish to run the test suite, first remove a test that normally
103 fails in BLFS, because it needs a locale C.UTF-8:</para>
104
105<screen><userinput>sed -i '/t0251-gpt-unicode.sh/d' tests/Makefile</userinput></screen>
106
107 <para>
108 To test the results, issue: <command>make check</command>. Note that
109 many tests are skipped if not run as the <systemitem
110 class="username">root</systemitem> user.
111 </para>
112
113<screen><userinput>sed -i "s/C.UTF-8/$LANG/" tests/t0251-gpt-unicode.sh</userinput></screen>
114
115 <para>
116 Now, as the <systemitem class="username">root</systemitem> user:
117 </para>
118
119<screen role="root"><userinput>make install &amp;&amp;
120install -v -m755 -d /usr/share/doc/parted-&parted-version;/html &amp;&amp;
121install -v -m644 doc/html/* \
122 /usr/share/doc/parted-&parted-version;/html &amp;&amp;
123install -v -m644 doc/{FAT,API,parted.{txt,html}} \
124 /usr/share/doc/parted-&parted-version;</userinput></screen>
125
126 <para>Install the optional PDF and Postscript documentation by issuing
127 the following command as the <systemitem class="username">root</systemitem>
128 user:</para>
129
130<screen role="root"><userinput>install -v -m644 doc/FAT doc/API doc/parted.{pdf,ps,dvi} \
131 /usr/share/doc/parted-&parted-version;</userinput></screen>
132 </sect2>
133
134 <sect2 role="commands">
135 <title>Command Explanations</title>
136
137 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
138 href="../../xincludes/static-libraries.xml"/>
139
140 <para>
141 <option>--disable-device-mapper</option>: This option disables device
142 mapper support. Add this parameter if you have not installed
143 <application>LVM2</application>.
144 </para>
145 </sect2>
146
147 <sect2 role="content">
148 <title>Contents</title>
149
150 <segmentedlist>
151 <segtitle>Installed Programs</segtitle>
152 <segtitle>Installed Libraries</segtitle>
153 <segtitle>Installed Directories</segtitle>
154
155 <seglistitem>
156 <seg>
157 parted and
158 partprobe
159 </seg>
160 <seg>
161 libparted.so and
162 libparted-fs-resize.so</seg>
163 <seg>
164 /usr/include/parted and
165 /usr/share/doc/parted-&parted-version;</seg>
166 </seglistitem>
167 </segmentedlist>
168
169 <variablelist>
170 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
171 <?dbfo list-presentation="list"?>
172 <?dbhtml list-presentation="table"?>
173
174 <varlistentry id="parted-prog">
175 <term><command>parted</command></term>
176 <listitem>
177 <para>is a partition manipulation program.</para>
178 <indexterm zone="parted parted-prog">
179 <primary sortas="b-parted">parted</primary>
180 </indexterm>
181 </listitem>
182 </varlistentry>
183
184 <varlistentry id="partprobe">
185 <term><command>partprobe</command></term>
186 <listitem>
187 <para>informs the OS of partition table changes.</para>
188 <indexterm zone="parted partprobe">
189 <primary sortas="b-partprobe">partprobe</primary>
190 </indexterm>
191 </listitem>
192 </varlistentry>
193
194 <varlistentry id="libparted">
195 <term><filename class='libraryfile'>libparted.so</filename></term>
196 <listitem>
197 <para>
198 contains the <application>Parted</application> API functions.
199 </para>
200 <indexterm zone="parted libparted">
201 <primary sortas="c-libparted">libparted.so</primary>
202 </indexterm>
203 </listitem>
204 </varlistentry>
205 </variablelist>
206 </sect2>
207</sect1>
Note: See TracBrowser for help on using the repository browser.