[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 |
|
---|
[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 |
|
---|
[83bf104] | 38 | &lfs73_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">
|
---|
[0d7900a] | 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">
|
---|
[810a2c6] | 76 | <title>Installation of parted</title>
|
---|
[2875f488] | 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 &&
|
---|
[9ca304a] | 84 | make &&
|
---|
| 85 |
|
---|
| 86 | make -C doc html &&
|
---|
| 87 | makeinfo --html -o doc/html doc/parted.texi &&
|
---|
| 88 | makeinfo --plaintext -o doc/parted.txt doc/parted.texi</userinput></screen>
|
---|
| 89 |
|
---|
| 90 | <para>If you have <xref linkend="texlive"/> installed and wish to create
|
---|
| 91 | PDF and Postcript documentation issue the following commands:</para>
|
---|
| 92 |
|
---|
| 93 | <screen><userinput>texi2pdf -o doc/parted.pdf doc/parted.texi &&
|
---|
| 94 | texi2dvi -o doc/parted.dvi doc/parted.texi &&
|
---|
| 95 | dvips -o doc/parted.ps doc/parted.dvi</userinput></screen>
|
---|
[2875f488] | 96 |
|
---|
| 97 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 98 |
|
---|
[49b0f95] | 99 | <para>
|
---|
| 100 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 101 | </para>
|
---|
[2875f488] | 102 |
|
---|
[9ca304a] | 103 | <screen role="root"><userinput>make install &&
|
---|
[b141cb2] | 104 | install -v -m755 -d /usr/share/doc/parted-&parted-version;/html &&
|
---|
[9ca304a] | 105 | install -v -m644 doc/html/* \
|
---|
[b141cb2] | 106 | /usr/share/doc/parted-&parted-version;/html &&
|
---|
[9ca304a] | 107 | install -v -m644 doc/{FAT,API,parted.{txt,html}} \
|
---|
[b141cb2] | 108 | /usr/share/doc/parted-&parted-version;</userinput></screen>
|
---|
[9ca304a] | 109 |
|
---|
| 110 | <para>Install the optional PDF and Postscript documentation by issuing
|
---|
| 111 | the following command as the <systemitem class="username">root</systemitem>
|
---|
| 112 | user:</para>
|
---|
| 113 |
|
---|
| 114 | <screen role="root"><userinput>install -v -m644 doc/FAT doc/API doc/parted.{pdf,ps,dvi} \
|
---|
[b141cb2] | 115 | /usr/share/doc/parted-&parted-version;</userinput></screen>
|
---|
[2875f488] | 116 | </sect2>
|
---|
| 117 |
|
---|
| 118 | <sect2 role="commands">
|
---|
| 119 | <title>Command Explanations</title>
|
---|
| 120 |
|
---|
[49b0f95] | 121 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 122 | href="../../xincludes/static-libraries.xml"/>
|
---|
[2875f488] | 123 |
|
---|
[49b0f95] | 124 | <para>
|
---|
| 125 | <option>--disable-device-mapper</option>: This option disables device
|
---|
| 126 | mapper support. Add this parameter if you have not installed
|
---|
| 127 | <application>LVM2</application>.
|
---|
| 128 | </para>
|
---|
[2875f488] | 129 | </sect2>
|
---|
| 130 |
|
---|
| 131 | <sect2 role="content">
|
---|
| 132 | <title>Contents</title>
|
---|
| 133 |
|
---|
| 134 | <segmentedlist>
|
---|
| 135 | <segtitle>Installed Programs</segtitle>
|
---|
| 136 | <segtitle>Installed Library</segtitle>
|
---|
| 137 | <segtitle>Installed Directory</segtitle>
|
---|
| 138 |
|
---|
| 139 | <seglistitem>
|
---|
[49b0f95] | 140 | <seg>
|
---|
| 141 | parted and
|
---|
| 142 | partprobe
|
---|
| 143 | </seg>
|
---|
| 144 | <seg>libparted.so</seg>
|
---|
[2875f488] | 145 | <seg>/usr/include/parted</seg>
|
---|
| 146 | </seglistitem>
|
---|
| 147 | </segmentedlist>
|
---|
| 148 |
|
---|
| 149 | <variablelist>
|
---|
| 150 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 151 | <?dbfo list-presentation="list"?>
|
---|
| 152 | <?dbhtml list-presentation="table"?>
|
---|
| 153 |
|
---|
| 154 | <varlistentry id="parted-prog">
|
---|
| 155 | <term><command>parted</command></term>
|
---|
| 156 | <listitem>
|
---|
| 157 | <para>is a partition manipulation program.</para>
|
---|
| 158 | <indexterm zone="parted parted-prog">
|
---|
| 159 | <primary sortas="b-parted">parted</primary>
|
---|
| 160 | </indexterm>
|
---|
| 161 | </listitem>
|
---|
| 162 | </varlistentry>
|
---|
| 163 |
|
---|
| 164 | <varlistentry id="partprobe">
|
---|
| 165 | <term><command>partprobe</command></term>
|
---|
| 166 | <listitem>
|
---|
| 167 | <para>informs the OS of partition table changes.</para>
|
---|
| 168 | <indexterm zone="parted partprobe">
|
---|
| 169 | <primary sortas="b-partprobe">partprobe</primary>
|
---|
| 170 | </indexterm>
|
---|
| 171 | </listitem>
|
---|
| 172 | </varlistentry>
|
---|
| 173 |
|
---|
| 174 | <varlistentry id="libparted">
|
---|
[49b0f95] | 175 | <term><filename class='libraryfile'>libparted.so</filename></term>
|
---|
[2875f488] | 176 | <listitem>
|
---|
[49b0f95] | 177 | <para>
|
---|
| 178 | contains the <application>Parted</application> API functions.
|
---|
| 179 | </para>
|
---|
[2875f488] | 180 | <indexterm zone="parted libparted">
|
---|
[49b0f95] | 181 | <primary sortas="c-libparted">libparted.so</primary>
|
---|
[2875f488] | 182 | </indexterm>
|
---|
| 183 | </listitem>
|
---|
| 184 | </varlistentry>
|
---|
| 185 | </variablelist>
|
---|
| 186 | </sect2>
|
---|
| 187 | </sect1>
|
---|