[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 |
|
---|
[27d9434] | 7 | <!ENTITY parted-download-http "http://ftp.gnu.org/gnu/parted/parted-&parted-version;.tar.xz">
|
---|
[22041ee] | 8 | <!ENTITY parted-download-ftp " ">
|
---|
[c18da99c] | 9 | <!ENTITY parted-md5sum "c415e5c97f86b5ff65a2d925e5a3feb7">
|
---|
| 10 | <!ENTITY parted-size "1.4 MB">
|
---|
| 11 | <!ENTITY parted-buildsize "31 MB">
|
---|
[2875f488] | 12 | <!ENTITY parted-time "0.6 SBU">
|
---|
| 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>The <application>Parted</application> package is a disk partitioning
|
---|
| 33 | and partition resizing tool.</para>
|
---|
| 34 |
|
---|
[e4123d2] | 35 | &lfs70_checked;
|
---|
| 36 |
|
---|
[2875f488] | 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>Download (HTTP): <ulink url="&parted-download-http;"/></para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (FTP): <ulink url="&parted-download-ftp;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download MD5 sum: &parted-md5sum;</para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download size: &parted-size;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Estimated disk space required: &parted-buildsize;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated build time: &parted-time;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | </itemizedlist>
|
---|
| 58 |
|
---|
| 59 | <bridgehead renderas="sect3">Parted Dependencies</bridgehead>
|
---|
| 60 |
|
---|
| 61 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[e4decda] | 62 | <para role="optional">
|
---|
[8bc3edae] | 63 | <xref linkend="lvm2"/> (device-mapper, required if building
|
---|
| 64 | <application>udisks</application>)
|
---|
| 65 | </para>
|
---|
[2875f488] | 66 |
|
---|
| 67 | <para condition="html" role="usernotes">User Notes:
|
---|
| 68 | <ulink url="&blfs-wiki;/parted"/></para>
|
---|
| 69 |
|
---|
| 70 | </sect2>
|
---|
| 71 |
|
---|
| 72 | <sect2 role="installation">
|
---|
| 73 | <title>Installation of Parted</title>
|
---|
| 74 |
|
---|
| 75 | <para>Install <application>Parted</application> by running the following
|
---|
| 76 | commands:</para>
|
---|
| 77 |
|
---|
| 78 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 79 | --enable-device-mapper=no &&
|
---|
| 80 | make</userinput></screen>
|
---|
| 81 |
|
---|
| 82 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 83 |
|
---|
| 84 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 85 |
|
---|
| 86 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 87 |
|
---|
| 88 | </sect2>
|
---|
| 89 |
|
---|
| 90 | <sect2 role="commands">
|
---|
| 91 | <title>Command Explanations</title>
|
---|
| 92 |
|
---|
| 93 | <para><parameter>--enable-device-mapper=no</parameter>: This parameter
|
---|
| 94 | disables device mapper support. Remove this parameter if you have
|
---|
| 95 | <application>Device-mapper</application> installed.</para>
|
---|
| 96 |
|
---|
| 97 | </sect2>
|
---|
| 98 |
|
---|
| 99 | <sect2 role="content">
|
---|
| 100 | <title>Contents</title>
|
---|
| 101 |
|
---|
| 102 | <segmentedlist>
|
---|
| 103 | <segtitle>Installed Programs</segtitle>
|
---|
| 104 | <segtitle>Installed Library</segtitle>
|
---|
| 105 | <segtitle>Installed Directory</segtitle>
|
---|
| 106 |
|
---|
| 107 | <seglistitem>
|
---|
| 108 | <seg>parted and partprobe</seg>
|
---|
| 109 | <seg>libparted.{so,a}</seg>
|
---|
| 110 | <seg>/usr/include/parted</seg>
|
---|
| 111 | </seglistitem>
|
---|
| 112 | </segmentedlist>
|
---|
| 113 |
|
---|
| 114 | <variablelist>
|
---|
| 115 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 116 | <?dbfo list-presentation="list"?>
|
---|
| 117 | <?dbhtml list-presentation="table"?>
|
---|
| 118 |
|
---|
| 119 | <varlistentry id="parted-prog">
|
---|
| 120 | <term><command>parted</command></term>
|
---|
| 121 | <listitem>
|
---|
| 122 | <para>is a partition manipulation program.</para>
|
---|
| 123 | <indexterm zone="parted parted-prog">
|
---|
| 124 | <primary sortas="b-parted">parted</primary>
|
---|
| 125 | </indexterm>
|
---|
| 126 | </listitem>
|
---|
| 127 | </varlistentry>
|
---|
| 128 |
|
---|
| 129 | <varlistentry id="partprobe">
|
---|
| 130 | <term><command>partprobe</command></term>
|
---|
| 131 | <listitem>
|
---|
| 132 | <para>informs the OS of partition table changes.</para>
|
---|
| 133 | <indexterm zone="parted partprobe">
|
---|
| 134 | <primary sortas="b-partprobe">partprobe</primary>
|
---|
| 135 | </indexterm>
|
---|
| 136 | </listitem>
|
---|
| 137 | </varlistentry>
|
---|
| 138 |
|
---|
| 139 | <varlistentry id="libparted">
|
---|
| 140 | <term><filename class='libraryfile'>libparted.{so,a}</filename></term>
|
---|
| 141 | <listitem>
|
---|
| 142 | <para>contains the <application>Parted</application> API functions.</para>
|
---|
| 143 | <indexterm zone="parted libparted">
|
---|
| 144 | <primary sortas="c-libparted">libparted.{so,a}</primary>
|
---|
| 145 | </indexterm>
|
---|
| 146 | </listitem>
|
---|
| 147 | </varlistentry>
|
---|
| 148 |
|
---|
| 149 | </variablelist>
|
---|
| 150 |
|
---|
| 151 | </sect2>
|
---|
| 152 |
|
---|
| 153 | </sect1>
|
---|