source: postlfs/filesystems/parted.xml@ 8c64b06

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 8c64b06 was 8c64b06, checked in by Bruce Dubbs <bdubbs@…>, 10 years ago

Yest more tags

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

  • Property mode set to 100644
File size: 7.2 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
[49b0f95]7 <!ENTITY parted-download-http
8 "http://ftp.gnu.org/gnu/parted/parted-&parted-version;.tar.xz">
[22041ee]9 <!ENTITY parted-download-ftp " ">
[5f1ca9f]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)">
[2875f488]14]>
15
[810a2c6]16<sect1 id="parted" xreflabel="parted-&parted-version;">
[2875f488]17 <?dbhtml filename="parted.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
[810a2c6]24 <title>parted-&parted-version;</title>
[2875f488]25
26 <indexterm zone="parted">
[810a2c6]27 <primary sortas="a-parted">Parted</primary>
[2875f488]28 </indexterm>
29
30 <sect2 role="package">
[810a2c6]31 <title>Introduction to parted</title>
[2875f488]32
[49b0f95]33 <para>
34 The <application>Parted</application> package is a disk partitioning and
35 partition resizing tool.
36 </para>
[2875f488]37
[8c64b06]38 &lfs76_checked;
[e4123d2]39
[2875f488]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
[6e08e9c0]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
[2875f488]72 <bridgehead renderas="sect3">Parted Dependencies</bridgehead>
73
[49b0f95]74 <bridgehead renderas="sect4">Recommended</bridgehead>
75 <para role="recommended">
[0d7900a]76 <xref linkend="lvm2"/> (device-mapper, required if building
[49b0f95]77 <application>udisks</application>)
[8bc3edae]78 </para>
[2875f488]79
[5f1ca9f]80 <bridgehead renderas="sect4">Optional</bridgehead>
81 <para role="optional">
82 <xref linkend="pth"/>
83 </para>
84
[49b0f95]85 <para condition="html" role="usernotes">
86 User Notes: <ulink url="&blfs-wiki;/parted"/>
87 </para>
[2875f488]88 </sect2>
89
90 <sect2 role="installation">
[810a2c6]91 <title>Installation of parted</title>
[6e08e9c0]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>
[2875f488]98
[49b0f95]99 <para>
100 Install <application>Parted</application> by running the following
101 commands:
102 </para>
[2875f488]103
[5f1ca9f]104<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
[9ca304a]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>
[2875f488]117
[d81eda8]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
[cf67717]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
[d81eda8]126 class="username">root</systemitem> user.
[cf67717]127 </para>
[2875f488]128
[49b0f95]129 <para>
130 Now, as the <systemitem class="username">root</systemitem> user:
131 </para>
[2875f488]132
[9ca304a]133<screen role="root"><userinput>make install &amp;&amp;
[b141cb2]134install -v -m755 -d /usr/share/doc/parted-&parted-version;/html &amp;&amp;
[9ca304a]135install -v -m644 doc/html/* \
[b141cb2]136 /usr/share/doc/parted-&parted-version;/html &amp;&amp;
[9ca304a]137install -v -m644 doc/{FAT,API,parted.{txt,html}} \
[b141cb2]138 /usr/share/doc/parted-&parted-version;</userinput></screen>
[9ca304a]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} \
[b141cb2]145 /usr/share/doc/parted-&parted-version;</userinput></screen>
[2875f488]146 </sect2>
147
148 <sect2 role="commands">
149 <title>Command Explanations</title>
150
[49b0f95]151 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
152 href="../../xincludes/static-libraries.xml"/>
[2875f488]153
[49b0f95]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>
[2875f488]159 </sect2>
160
161 <sect2 role="content">
162 <title>Contents</title>
163
164 <segmentedlist>
165 <segtitle>Installed Programs</segtitle>
[5f1ca9f]166 <segtitle>Installed Libraries</segtitle>
167 <segtitle>Installed Directories</segtitle>
[2875f488]168
169 <seglistitem>
[49b0f95]170 <seg>
171 parted and
172 partprobe
173 </seg>
[5f1ca9f]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>
[2875f488]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">
[49b0f95]209 <term><filename class='libraryfile'>libparted.so</filename></term>
[2875f488]210 <listitem>
[49b0f95]211 <para>
212 contains the <application>Parted</application> API functions.
213 </para>
[2875f488]214 <indexterm zone="parted libparted">
[49b0f95]215 <primary sortas="c-libparted">libparted.so</primary>
[2875f488]216 </indexterm>
217 </listitem>
218 </varlistentry>
219 </variablelist>
220 </sect2>
221</sect1>
Note: See TracBrowser for help on using the repository browser.