[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 " ">
|
---|
[49b0f95] | 10 | <!ENTITY parted-md5sum "5d89d64d94bcfefa9ce8f59f4b81bdcb">
|
---|
| 11 | <!ENTITY parted-size "1.5 MB">
|
---|
| 12 | <!ENTITY parted-buildsize "38 MB">
|
---|
| 13 | <!ENTITY parted-time "0.5 SBU">
|
---|
[2875f488] | 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 |
|
---|
[49b0f95] | 33 | <para>
|
---|
| 34 | The <application>Parted</application> package is a disk partitioning and
|
---|
| 35 | partition resizing tool.
|
---|
| 36 | </para>
|
---|
[2875f488] | 37 |
|
---|
[49b0f95] | 38 | &lfs71_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 |
|
---|
| 62 | <bridgehead renderas="sect3">Parted Dependencies</bridgehead>
|
---|
| 63 |
|
---|
[49b0f95] | 64 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 65 | <para role="recommended">
|
---|
[8bc3edae] | 66 | <xref linkend="lvm2"/> (device-mapper, required if building
|
---|
[49b0f95] | 67 | <application>udisks</application>)
|
---|
[8bc3edae] | 68 | </para>
|
---|
[2875f488] | 69 |
|
---|
[49b0f95] | 70 | <para condition="html" role="usernotes">
|
---|
| 71 | User Notes: <ulink url="&blfs-wiki;/parted"/>
|
---|
| 72 | </para>
|
---|
[2875f488] | 73 | </sect2>
|
---|
| 74 |
|
---|
| 75 | <sect2 role="installation">
|
---|
| 76 | <title>Installation of Parted</title>
|
---|
| 77 |
|
---|
[49b0f95] | 78 | <para>
|
---|
| 79 | Install <application>Parted</application> by running the following
|
---|
| 80 | commands:
|
---|
| 81 | </para>
|
---|
[2875f488] | 82 |
|
---|
[49b0f95] | 83 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
[2875f488] | 84 | make</userinput></screen>
|
---|
| 85 |
|
---|
| 86 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 87 |
|
---|
[49b0f95] | 88 | <para>
|
---|
| 89 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 90 | </para>
|
---|
[2875f488] | 91 |
|
---|
| 92 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 93 | </sect2>
|
---|
| 94 |
|
---|
| 95 | <sect2 role="commands">
|
---|
| 96 | <title>Command Explanations</title>
|
---|
| 97 |
|
---|
[49b0f95] | 98 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 99 | href="../../xincludes/static-libraries.xml"/>
|
---|
[2875f488] | 100 |
|
---|
[49b0f95] | 101 | <para>
|
---|
| 102 | <option>--disable-device-mapper</option>: This option disables device
|
---|
| 103 | mapper support. Add this parameter if you have not installed
|
---|
| 104 | <application>LVM2</application>.
|
---|
| 105 | </para>
|
---|
[2875f488] | 106 | </sect2>
|
---|
| 107 |
|
---|
| 108 | <sect2 role="content">
|
---|
| 109 | <title>Contents</title>
|
---|
| 110 |
|
---|
| 111 | <segmentedlist>
|
---|
| 112 | <segtitle>Installed Programs</segtitle>
|
---|
| 113 | <segtitle>Installed Library</segtitle>
|
---|
| 114 | <segtitle>Installed Directory</segtitle>
|
---|
| 115 |
|
---|
| 116 | <seglistitem>
|
---|
[49b0f95] | 117 | <seg>
|
---|
| 118 | parted and
|
---|
| 119 | partprobe
|
---|
| 120 | </seg>
|
---|
| 121 | <seg>libparted.so</seg>
|
---|
[2875f488] | 122 | <seg>/usr/include/parted</seg>
|
---|
| 123 | </seglistitem>
|
---|
| 124 | </segmentedlist>
|
---|
| 125 |
|
---|
| 126 | <variablelist>
|
---|
| 127 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 128 | <?dbfo list-presentation="list"?>
|
---|
| 129 | <?dbhtml list-presentation="table"?>
|
---|
| 130 |
|
---|
| 131 | <varlistentry id="parted-prog">
|
---|
| 132 | <term><command>parted</command></term>
|
---|
| 133 | <listitem>
|
---|
| 134 | <para>is a partition manipulation program.</para>
|
---|
| 135 | <indexterm zone="parted parted-prog">
|
---|
| 136 | <primary sortas="b-parted">parted</primary>
|
---|
| 137 | </indexterm>
|
---|
| 138 | </listitem>
|
---|
| 139 | </varlistentry>
|
---|
| 140 |
|
---|
| 141 | <varlistentry id="partprobe">
|
---|
| 142 | <term><command>partprobe</command></term>
|
---|
| 143 | <listitem>
|
---|
| 144 | <para>informs the OS of partition table changes.</para>
|
---|
| 145 | <indexterm zone="parted partprobe">
|
---|
| 146 | <primary sortas="b-partprobe">partprobe</primary>
|
---|
| 147 | </indexterm>
|
---|
| 148 | </listitem>
|
---|
| 149 | </varlistentry>
|
---|
| 150 |
|
---|
| 151 | <varlistentry id="libparted">
|
---|
[49b0f95] | 152 | <term><filename class='libraryfile'>libparted.so</filename></term>
|
---|
[2875f488] | 153 | <listitem>
|
---|
[49b0f95] | 154 | <para>
|
---|
| 155 | contains the <application>Parted</application> API functions.
|
---|
| 156 | </para>
|
---|
[2875f488] | 157 | <indexterm zone="parted libparted">
|
---|
[49b0f95] | 158 | <primary sortas="c-libparted">libparted.so</primary>
|
---|
[2875f488] | 159 | </indexterm>
|
---|
| 160 | </listitem>
|
---|
| 161 | </varlistentry>
|
---|
| 162 | </variablelist>
|
---|
| 163 | </sect2>
|
---|
| 164 | </sect1>
|
---|