Author: bdubbs Date: 2013-01-01 12:02:00 -0700 (Tue, 01 Jan 2013) New Revision: 10918
Added: trunk/BOOK/postlfs/filesystems/gptfdisk.xml trunk/BOOK/postlfs/filesystems/parted.xml Removed: trunk/BOOK/general/sysutils/parted.xml Modified: trunk/BOOK/general.ent trunk/BOOK/general/sysutils/sysutils.xml trunk/BOOK/introduction/welcome/changelog.xml trunk/BOOK/postlfs/filesystems/filesystems.xml Log: Add gptfdisk-0.8.5. Move parted to disk management chapter. Deleted: trunk/BOOK/general/sysutils/parted.xml =================================================================== --- trunk/BOOK/general/sysutils/parted.xml 2012-12-31 21:49:10 UTC (rev 10917) +++ trunk/BOOK/general/sysutils/parted.xml 2013-01-01 19:02:00 UTC (rev 10918) @@ -1,164 +0,0 @@ -<?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 "5d89d64d94bcfefa9ce8f59f4b81bdcb"> - <!ENTITY parted-size "1.5 MB"> - <!ENTITY parted-buildsize "38 MB"> - <!ENTITY parted-time "0.5 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> - - &lfs72_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">Recommended</bridgehead> - <para role="recommended"> - <xref linkend="lvm2"/> (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 --disable-static && -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> - - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../../xincludes/static-libraries.xml"/> - - <para> - <option>--disable-device-mapper</option>: This option disables device - mapper support. Add this parameter if you have not installed - <application>LVM2</application>. - </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</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</filename></term> - <listitem> - <para> - contains the <application>Parted</application> API functions. - </para> - <indexterm zone="parted libparted"> - <primary sortas="c-libparted">libparted.so</primary> - </indexterm> - </listitem> - </varlistentry> - </variablelist> - </sect2> -</sect1> Modified: trunk/BOOK/general/sysutils/sysutils.xml =================================================================== --- trunk/BOOK/general/sysutils/sysutils.xml 2012-12-31 21:49:10 UTC (rev 10917) +++ trunk/BOOK/general/sysutils/sysutils.xml 2013-01-01 19:02:00 UTC (rev 10918) @@ -38,7 +38,6 @@ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mc.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="obex-data-server.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="obexd.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="pciutils.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="raptor.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="rasqal.xml"/> Modified: trunk/BOOK/general.ent =================================================================== --- trunk/BOOK/general.ent 2012-12-31 21:49:10 UTC (rev 10917) +++ trunk/BOOK/general.ent 2013-01-01 19:02:00 UTC (rev 10918) @@ -200,6 +200,8 @@ <!ENTITY lvm2-version "2.02.98"> <!ENTITY mdadm-version "3.2.6"> <!ENTITY ntfs-3g-version "2012.1.15"> +<!ENTITY gptfdisk-version "0.8.5"> +<!ENTITY parted-version "3.1"> <!ENTITY reiser-version "3.6.21"> <!ENTITY sshfs-fuse-version "2.4"> <!ENTITY xfsprogs-version "3.1.10"> @@ -365,7 +367,6 @@ <!ENTITY mc-version "4.8.6"> <!ENTITY obex-data-server-version "0.4.6"> <!ENTITY obexd-version "0.48"> -<!ENTITY parted-version "3.1"> <!ENTITY pciutils-version "3.1.10"> <!ENTITY raptor-version "2.0.8"> <!ENTITY rasqal-version "0.9.29"> Modified: trunk/BOOK/introduction/welcome/changelog.xml =================================================================== --- trunk/BOOK/introduction/welcome/changelog.xml 2012-12-31 21:49:10 UTC (rev 10917) +++ trunk/BOOK/introduction/welcome/changelog.xml 2013-01-01 19:02:00 UTC (rev 10918) @@ -48,6 +48,10 @@ <para>January 1st, 2013</para> <itemizedlist> <listitem> + <para>[bdubbs] - Add gptfdisk-0.8.5. Moved parted to disk + management chapter.</para> + </listitem> + <listitem> <para>[bdubbs] - Archive 2012 changelog.</para> </listitem> </itemizedlist> Modified: trunk/BOOK/postlfs/filesystems/filesystems.xml =================================================================== --- trunk/BOOK/postlfs/filesystems/filesystems.xml 2012-12-31 21:49:10 UTC (rev 10917) +++ trunk/BOOK/postlfs/filesystems/filesystems.xml 2013-01-01 19:02:00 UTC (rev 10918) @@ -29,6 +29,8 @@ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="aboutraid.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mdadm.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ntfs-3g.xml"/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gptfdisk.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="reiser.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sshfs-fuse.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="xfsprogs.xml"/> Copied: trunk/BOOK/postlfs/filesystems/gptfdisk.xml (from rev 10916, trunk/BOOK/general/sysutils/parted.xml) =================================================================== --- trunk/BOOK/postlfs/filesystems/gptfdisk.xml (rev 0) +++ trunk/BOOK/postlfs/filesystems/gptfdisk.xml 2013-01-01 19:02:00 UTC (rev 10918) @@ -0,0 +1,190 @@ +<?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 gptfdisk-download-http + "&sourceforge-repo;/project/gptfdisk/gptfdisk/&gptfdisk-version;/gptfdisk-&gptfdisk-version;.tar.gz"> + <!ENTITY gptfdisk-download-ftp " "> + <!ENTITY gptfdisk-md5sum "fbff65ea54638a4cb37878f05c178c3a"> + <!ENTITY gptfdisk-size "180 KB"> + <!ENTITY gptfdisk-buildsize "752 MB"> + <!ENTITY gptfdisk-time "less than 0.1 SBU"> +]> + +<sect1 id="gptfdisk" xreflabel="gptfdisk-&gptfdisk-version;"> + <?dbhtml filename="gptfdisk.html"?> + + <sect1info> + <othername>$LastChangedBy$</othername> + <date>$Date$</date> + </sect1info> + + <title>gptfdisk-&gptfdisk-version;</title> + + <indexterm zone="gptfdisk"> + <primary sortas="a-gptfdisk">gptfdisk</primary> + </indexterm> + + <sect2 role="package"> + <title>Introduction to gptfdisk</title> + + <para> + The <application>gptfdisk</application> package is a set of programs for + creation and maintenance of GUID Partition Table (GPT) disk drives. A + GPT partitioned disk is required for drives greater than 2 TB and is a + modern replacement for legacy PC-BIOS partitioned disk drives that us a + Master Boot Record (MBR). The main program, <command>gdisk</command>, + has an inteface similar to the classic <command>fdisk</command> program. + </para> + + &lfs72_checked; + + <bridgehead renderas="sect3">Package Information</bridgehead> + <itemizedlist spacing="compact"> + <listitem> + <para>Download (HTTP): <ulink url="&gptfdisk-download-http;"/></para> + </listitem> + <listitem> + <para>Download (FTP): <ulink url="&gptfdisk-download-ftp;"/></para> + </listitem> + <listitem> + <para>Download MD5 sum: &gptfdisk-md5sum;</para> + </listitem> + <listitem> + <para>Download size: &gptfdisk-size;</para> + </listitem> + <listitem> + <para>Estimated disk space required: &gptfdisk-buildsize;</para> + </listitem> + <listitem> + <para>Estimated build time: &gptfdisk-time;</para> + </listitem> + </itemizedlist> + + <bridgehead renderas="sect3">Additional Downloads</bridgehead> + <itemizedlist spacing='compact'> + <listitem> + <para>Recommended Patch: <ulink + url="&patch-root;/gptfdisk-&gptfdisk-version;-convenience-1.patch"/></para> + </listitem> + </itemizedlist> + + <bridgehead renderas="sect3">gptfdisk Dependencies</bridgehead> + + <bridgehead renderas="sect4">Optional</bridgehead> + <para role="optional"> + <xref linkend="popt"/> (required to build sgdisk) and + <xref linkend="icu"/> (for Unicode partition names) + </para> + + <para condition="html" role="usernotes"> + User Notes: <ulink url="&blfs-wiki;/gptdisk"/> + </para> + </sect2> + + <sect2 role="installation"> + <title>Installation of gptfdisk</title> + + <para> + The <application>gptfdisk</application> package comes with a + rudimentary <filename>Makefile</filename>. First we update it + to provide a simple build and install interface. + Install <application>gptfdisk</application> by running the following + commands: + </para> + +<screen><userinput>patch -Np1 -i ../gptfdisk-&gptfdisk-version;-convenience-1.patch && +make</userinput></screen> + + <para>This package does not come with a test suite.</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> + <option>ICU=1</option>: Adding this option to the <command>make</command> + command allows use of Unicode characters in partition names. + </para> + + <para> + <option>POPT=1</option>: Adding this option to the <command>make</command> + command is required to build <command>sgdisk</command>. If used, + this option needs to be on both the <command>make</command> and the + <command>make install</command> line. + </para> + + </sect2> + + <sect2 role="content"> + <title>Contents</title> + + <segmentedlist> + <segtitle>Installed Programs</segtitle> + + <seglistitem> + <seg> + cgdisk, gdisk, fixparts, and sgdisk + </seg> + </seglistitem> + </segmentedlist> + + <variablelist> + <bridgehead renderas="sect3">Short Descriptions</bridgehead> + <?dbfo list-presentation="list"?> + <?dbhtml list-presentation="table"?> + + <varlistentry id="cgdisk"> + <term><command>cgdisk</command></term> + <listitem> + <para>is an is a curses-based text-mode tool for + manipulating GPT partitions.</para> + <indexterm zone="gptfdisk cgdisk"> + <primary sortas="b-cgdisk">cgdisk</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="gdisk"> + <term><command>gdisk</command></term> + <listitem> + <para>is an interactive text-mode tool + for manipulating GPT partitions.</para> + <indexterm zone="gptfdisk gdisk"> + <primary sortas="b-gdisk">gdisk</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="fixparts"> + <term><command>fixparts</command></term> + <listitem> + <para>repairs mis-formatted MBR based disk partitions.</para> + <indexterm zone="gptfdisk fixparts"> + <primary sortas="b-fixparts">fixparts</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="sgdisk"> + <term><command>sgdisk</command></term> + <listitem> + <para>is a partition manipulation program for + GPT partitions sililar to <command>sfdisk</command>.</para> + <indexterm zone="gptfdisk sgdisk"> + <primary sortas="b-sgdisk">sgdisk</primary> + </indexterm> + </listitem> + </varlistentry> + + </variablelist> + </sect2> +</sect1> Copied: trunk/BOOK/postlfs/filesystems/parted.xml (from rev 10916, trunk/BOOK/general/sysutils/parted.xml) =================================================================== --- trunk/BOOK/postlfs/filesystems/parted.xml (rev 0) +++ trunk/BOOK/postlfs/filesystems/parted.xml 2013-01-01 19:02:00 UTC (rev 10918) @@ -0,0 +1,164 @@ +<?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 "5d89d64d94bcfefa9ce8f59f4b81bdcb"> + <!ENTITY parted-size "1.5 MB"> + <!ENTITY parted-buildsize "38 MB"> + <!ENTITY parted-time "0.5 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> + + &lfs72_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">Recommended</bridgehead> + <para role="recommended"> + <xref linkend="lvm2"/> (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 --disable-static && +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> + + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" + href="../../xincludes/static-libraries.xml"/> + + <para> + <option>--disable-device-mapper</option>: This option disables device + mapper support. Add this parameter if you have not installed + <application>LVM2</application>. + </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</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</filename></term> + <listitem> + <para> + contains the <application>Parted</application> API functions. + </para> + <indexterm zone="parted libparted"> + <primary sortas="c-libparted">libparted.so</primary> + </indexterm> + </listitem> + </varlistentry> + </variablelist> + </sect2> +</sect1> -- http://linuxfromscratch.org/mailman/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
