glfs/postlfs/filesystems/parted.xml
Douglas R. Reno cdf010666f Update to gnome-online-accounts-3.34.1
Update to libsoup-2.68.2
Update to dconf-editor-3.34.2
Update to parted-3.3
Update to samba-4.11.0
Update to gvfs-1.42.1
Fix the download size in Volume_Key
Correct the rndc-confgen command in BIND9, as well as update some paths.

Please be aware that this version of Samba does not support SMBv1 anymore, and clients
that utilize that protocol will be completely unable to connect to the server.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22255 af4574ff-66df-0310-9fd7-8a98e5e911e0
2019-10-16 03:04:38 +00:00

234 lines
7.8 KiB
XML

<?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 "&gnu-http;/parted/parted-&parted-version;.tar.xz">
<!ENTITY parted-download-ftp "&gnu-ftp;/parted/parted-&parted-version;.tar.xz">
<!ENTITY parted-md5sum "090655d05f3c471aa8e15a27536889ec">
<!ENTITY parted-size "1.7 MB">
<!ENTITY parted-buildsize "34 MB (additional 3 MB for the tests and additional 1 MB for optional PDF and Postscript documentation)">
<!ENTITY parted-time "0.3 SBU (additional 1.7 SBU for the tests)">
]>
<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>
&lfs90_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">Additional Downloads</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Optional, to fix build without device mapper support:
<ulink url="&patch-root;/parted-&parted-version;-devmapper-1.patch"/>
</para>
</listitem>
</itemizedlist>
This seems to be unneeded now. The fix was merged. -->
<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>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="pth"/>,
<xref linkend="texlive"/> (or <xref linkend="tl-installer"/>), and
<ulink url="https://metacpan.org/pod/Digest::CRC">Digest::CRC</ulink> (for tests)
</para>
<para condition="html" role="usernotes">
User Notes: <ulink url="&blfs-wiki;/parted"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of parted</title>
<!--
<para>
If you want to build without device mapper support, a fix is necessary:
</para>
<screen><userinput>patch -Np1 -i ../parted-&parted-version;-devmapper-1.patch</userinput></screen>
-->
<para>
Install <application>Parted</application> by running the following
commands:
</para>
<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
make &amp;&amp;
make -C doc html &amp;&amp;
makeinfo --html -o doc/html doc/parted.texi &amp;&amp;
makeinfo --plaintext -o doc/parted.txt doc/parted.texi</userinput></screen>
<para>If you have <xref linkend="texlive"/> installed and wish to create
PDF and Postcript documentation issue the following commands:</para>
<screen remap="doc"><userinput>texi2pdf -o doc/parted.pdf doc/parted.texi &amp;&amp;
texi2dvi -o doc/parted.dvi doc/parted.texi &amp;&amp;
dvips -o doc/parted.ps doc/parted.dvi</userinput></screen>
<para>If you wish to run the test suite, first remove a couple of tests
that are known to fail in a BLFS environment:</para>
<!-- One of these is due to a C locale, and another is a problem in LVM. -->
<screen remap="test"><userinput>sed -i '/t0251-gpt-unicode.sh/d' tests/Makefile &amp;&amp;
sed -i '/t6002-dm-busy.sh/d' tests/Makefile</userinput></screen>
<para>
To test the results, issue, as the <systemitem
class="username">root</systemitem> user:
</para>
<screen role="root"
remap="test"><userinput>make check</userinput></screen>
<note>
<para>
Many tests are skipped if not run as the <systemitem
class="username">root</systemitem> user.
</para>
</note>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install &amp;&amp;
install -v -m755 -d /usr/share/doc/parted-&parted-version;/html &amp;&amp;
install -v -m644 doc/html/* \
/usr/share/doc/parted-&parted-version;/html &amp;&amp;
install -v -m644 doc/{FAT,API,parted.{txt,html}} \
/usr/share/doc/parted-&parted-version;</userinput></screen>
<para>Install the optional PDF and Postscript documentation by issuing
the following command as the <systemitem class="username">root</systemitem>
user:</para>
<screen role="root"
remap="doc"><userinput>install -v -m644 doc/FAT doc/API doc/parted.{pdf,ps,dvi} \
/usr/share/doc/parted-&parted-version;</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 Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
parted and
partprobe
</seg>
<seg>
libparted.so and
libparted-fs-resize.so</seg>
<seg>
/usr/include/parted and
/usr/share/doc/parted-&parted-version;</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>