glfs/general/sysutils/parted.xml

152 lines
4.6 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY parted-download-http "http://ftp.gnu.org/gnu/parted/parted-&parted-version;.tar.xz">
<!ENTITY parted-download-ftp " ">
<!ENTITY parted-md5sum "c415e5c97f86b5ff65a2d925e5a3feb7">
<!ENTITY parted-size "1.4 MB">
<!ENTITY parted-buildsize "31 MB">
<!ENTITY parted-time "0.6 SBU">
]>
<sect1 id="parted" xreflabel="Parted-&parted-version;">
<?dbhtml filename="parted.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>Parted-&parted-version;</title>
<indexterm zone="parted">
<primary sortas="a-Parted">Parted</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Parted</title>
<para>The <application>Parted</application> package is a disk partitioning
and partition resizing tool.</para>
&lfs70_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&parted-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&parted-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &parted-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &parted-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &parted-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &parted-time;</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Parted Dependencies</bridgehead>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional"><xref linkend="device-mapper"/> (Required if building
<application>udisks</application>)</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/parted"/></para>
</sect2>
<sect2 role="installation">
<title>Installation of Parted</title>
<para>Install <application>Parted</application> by running the following
commands:</para>
<screen><userinput>./configure --prefix=/usr \
--enable-device-mapper=no &amp;&amp;
make</userinput></screen>
<para>To test the results, issue: <command>make check</command>.</para>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para><parameter>--enable-device-mapper=no</parameter>: This parameter
disables device mapper support. Remove this parameter if you have
<application>Device-mapper</application> installed.</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directory</segtitle>
<seglistitem>
<seg>parted and partprobe</seg>
<seg>libparted.{so,a}</seg>
<seg>/usr/include/parted</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="parted-prog">
<term><command>parted</command></term>
<listitem>
<para>is a partition manipulation program.</para>
<indexterm zone="parted parted-prog">
<primary sortas="b-parted">parted</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="partprobe">
<term><command>partprobe</command></term>
<listitem>
<para>informs the OS of partition table changes.</para>
<indexterm zone="parted partprobe">
<primary sortas="b-partprobe">partprobe</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libparted">
<term><filename class='libraryfile'>libparted.{so,a}</filename></term>
<listitem>
<para>contains the <application>Parted</application> API functions.</para>
<indexterm zone="parted libparted">
<primary sortas="c-libparted">libparted.{so,a}</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>