glfs/general/sysutils/cpio.xml
Bruce Dubbs 52d29f7a42 XML Updates to Part III from DJ
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2304 af4574ff-66df-0310-9fd7-8a98e5e911e0
2004-06-12 22:56:28 +00:00

96 lines
4.2 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY cpio-download-http "http://ftp.gnu.org/pub/gnu/cpio/cpio-&cpio-version;.tar.gz">
<!ENTITY cpio-download-ftp "ftp://ftp.gnu.org/pub/gnu/cpio/cpio-&cpio-version;.tar.gz">
<!ENTITY cpio-size "188 KB">
<!ENTITY cpio-buildsize "1 MB">
<!ENTITY cpio-time "0.06 SBU">
]>
<sect1 id="cpio" xreflabel="cpio-&cpio-version;">
<?dbhtml filename="cpio.html"?>
<title>cpio-&cpio-version;</title>
<sect2>
<title>Introduction to <application>cpio</application></title>
<para>The <application>cpio</application> package contains
tools for archiving.</para>
<sect3><title>Package information</title>
<itemizedlist spacing='compact'>
<listitem><para>Download (HTTP): <ulink
url="&cpio-download-http;"/></para></listitem>
<listitem><para>Download (FTP): <ulink
url="&cpio-download-ftp;"/></para></listitem>
<listitem><para>Download size: &cpio-size;</para></listitem>
<listitem><para>Estimated Disk space required:
&cpio-buildsize;</para></listitem>
<listitem><para>Estimated build time:
&cpio-time;</para></listitem></itemizedlist>
</sect3>
</sect2>
<sect2>
<title>Installation of <application>cpio</application></title>
<para>Install <application>cpio</application> by running the following commands:
</para>
<screen><userinput><command>./configure --prefix=/usr --libexecdir=/tmp/cpio \
--bindir=/bin &amp;&amp;
make &amp;&amp;
make install &amp;&amp;
rm -rf /tmp/cpio</command></userinput></screen>
</sect2>
<sect2>
<title>Command explanations</title>
<para><parameter>--libexec=/tmp/cpio</parameter>: This command installs
<command>rmt</command> to <filename class="directory">/tmp/cpio</filename> so
that it can be removed. The <command>rmt</command> executable is already
installed by the <application>tar</application> package in
<acronym>LFS</acronym>.</para>
<para><parameter>--bindir=/bin</parameter>: This command installs
<command>cpio</command> to <filename class="directory">/bin</filename> instead
of <filename class="directory">/usr/bin</filename> as per
<acronym>FHS</acronym> guidelines.</para>
</sect2>
<sect2>
<title>Contents</title>
<para>The <application>cpio</application> package contains <command>cpio
</command> and <command>mt</command>.</para>
</sect2>
<sect2><title>Description</title>
<sect3><title>cpio</title>
<para><command>cpio</command> copies files to and from archives.</para></sect3>
<sect3><title>mt</title>
<para><command>mt</command> controls magnetic tape drive operations.</para></sect3>
<!--
<sect3><title>rmt</title>
<para><command>rmt</command> controls remote magnetic tape drive operations.</para></sect3>
-->
</sect2>
</sect1>