Added new package, Parted-2.2.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8413 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Wayne Blaszczyk 2010-04-24 13:12:45 +00:00
parent a41f64326a
commit 2875f48828
5 changed files with 163 additions and 3 deletions

View File

@ -3,7 +3,7 @@ $LastChangedBy$
$Date$
-->
<!ENTITY day "13"> <!-- Always 2 digits -->
<!ENTITY day "24"> <!-- Always 2 digits -->
<!ENTITY month "04"> <!-- Always 2 digits -->
<!ENTITY year "2010">
<!ENTITY copyrightdate "2001-&year;">
@ -257,6 +257,7 @@ $Date$
<!ENTITY DeviceKit-power-version "012">
<!ENTITY LVM2-version "2.02.62">
<!ENTITY Device-mapper-version "1.02.45">
<!ENTITY parted-version "2.2">
<!ENTITY unrar-version "3.7.8">
<!ENTITY lzma-utils-version "4.32.7">

View File

@ -114,7 +114,7 @@
<xref linkend="policykit"/>,
<xref linkend="consolekit"/>,
<xref linkend="intltool"/>,
<ulink url="http://www.gnu.org/software/parted/index.shtml">Parted</ulink>, and
<xref linkend="parted"/>, and
<ulink url="https://fedorahosted.org/libsmbios/">libsmbios</ulink></para>
<para condition="html" role="usernotes">User Notes:
@ -200,7 +200,7 @@ cd hal-info-&hal-info-version; &amp;&amp;
<application>HAL</application> at run-time. These include <ulink
url="http://ca.geocities.com/jefftranter@rogers.com/eject.html">Eject</ulink>,
<ulink url="http://www.nongnu.org/dmidecode/">dmidecode</ulink>,
<ulink url="http://sourceware.org/dm/">Device-mapper</ulink>,
<xref linkend="Device-mapper"/>,
<ulink url="http://luks.endorphin.org/dm-crypt">Cryptsetup-LUKS</ulink>, and
<ulink url="http://pm-utils.freedesktop.org/wiki/">pm-utils</ulink>.</para>

149
general/sysutils/parted.xml Normal file
View File

@ -0,0 +1,149 @@
<?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.gz">
<!ENTITY parted-download-ftp "">
<!ENTITY parted-md5sum "9c262afd6673d7724a60b7c632ce80fa">
<!ENTITY parted-size "2.8 MB">
<!ENTITY parted-buildsize "28 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>
<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>DeviceKit-disks</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>

View File

@ -39,6 +39,7 @@ $Date$
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="DeviceKit.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="DeviceKit-power.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Device-mapper.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="parted.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="lzma-utils.xml"/>
</chapter>

View File

@ -41,6 +41,15 @@
-->
<listitem>
<para>April 24th, 2010</para>
<itemizedlist>
<listitem>
<para>[wblaszcz] - Added new package, Parted-2.2.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>April 13th, 2010</para>
<itemizedlist>