2004-06-13 06:56:28 +08:00
|
|
|
<?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">
|
2005-02-08 10:34:15 +08:00
|
|
|
<!ENTITY cpio-md5sum "76b4145f33df088a5bade3bf4373d17d">
|
2004-12-22 01:25:57 +08:00
|
|
|
<!ENTITY cpio-size "448 KB">
|
|
|
|
<!ENTITY cpio-buildsize "5.4 MB">
|
|
|
|
<!ENTITY cpio-time "0.12 SBU">
|
2004-06-13 06:56:28 +08:00
|
|
|
]>
|
|
|
|
|
2002-08-17 05:36:14 +08:00
|
|
|
<sect1 id="cpio" xreflabel="cpio-&cpio-version;">
|
2004-08-10 12:23:09 +08:00
|
|
|
<sect1info>
|
2004-08-10 12:25:57 +08:00
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
2004-08-10 12:23:09 +08:00
|
|
|
</sect1info>
|
2004-05-07 09:51:44 +08:00
|
|
|
<?dbhtml filename="cpio.html"?>
|
2002-08-17 05:36:14 +08:00
|
|
|
<title>cpio-&cpio-version;</title>
|
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Introduction to <application>cpio</application></title>
|
2004-12-22 01:25:57 +08:00
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
<para>The <application>cpio</application> package contains
|
|
|
|
tools for archiving.</para>
|
2004-12-22 01:25:57 +08:00
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
<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>
|
2005-02-08 10:34:15 +08:00
|
|
|
<listitem><para>Download MD5 sum: &cpio-md5sum;</para></listitem>
|
2004-06-13 06:56:28 +08:00
|
|
|
<listitem><para>Download size: &cpio-size;</para></listitem>
|
2004-12-22 01:25:57 +08:00
|
|
|
<listitem><para>Estimated disk space required:
|
2004-06-13 06:56:28 +08:00
|
|
|
&cpio-buildsize;</para></listitem>
|
|
|
|
<listitem><para>Estimated build time:
|
|
|
|
&cpio-time;</para></listitem></itemizedlist>
|
|
|
|
</sect3>
|
2004-12-22 01:25:57 +08:00
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Installation of <application>cpio</application></title>
|
2004-12-22 01:25:57 +08:00
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
<para>Install <application>cpio</application> by running the following commands:
|
|
|
|
</para>
|
2004-12-22 01:25:57 +08:00
|
|
|
|
|
|
|
<screen><userinput><command>sed -i -e "s/invalid_arg/argmatch_invalid/" src/mt.c &&
|
|
|
|
./configure CPIO_MT_PROG=mt --prefix=/usr \
|
|
|
|
--bindir=/bin --libexecdir=/tmp \
|
|
|
|
--with-rmt=/usr/sbin/rmt &&
|
2004-06-13 06:56:28 +08:00
|
|
|
make &&
|
2004-12-22 01:25:57 +08:00
|
|
|
make install</command></userinput></screen>
|
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Command explanations</title>
|
2004-12-22 01:25:57 +08:00
|
|
|
|
|
|
|
<para><command>sed -i -e "s/invalid_arg/argmatch_invalid/" src/mt.c</command>:
|
|
|
|
This command fixes a build problem in the <command>mt</command> program.</para>
|
|
|
|
|
|
|
|
<para><parameter>CPIO_MT_PROG=mt</parameter>: This parameter forces the
|
|
|
|
building and installation of the <command>mt</command> program.</para>
|
|
|
|
|
|
|
|
<para><parameter>--bindir=/bin</parameter>: This parameter installs
|
|
|
|
<command>cpio</command> to <filename class="directory">/bin</filename> instead
|
|
|
|
of <filename class="directory">/usr/bin</filename> as per
|
2004-06-13 06:56:28 +08:00
|
|
|
<acronym>FHS</acronym> guidelines.</para>
|
2004-12-22 01:25:57 +08:00
|
|
|
|
|
|
|
<para><parameter>--libexecdir=/tmp</parameter>: This parameter is used so
|
|
|
|
that <filename class='directory'>/usr/libexec</filename> is not created.</para>
|
|
|
|
|
|
|
|
<para><parameter>--with-rmt=/usr/sbin/rmt</parameter>: This parameter inhibits
|
|
|
|
building the <command>rmt</command> program as it is already installed by the
|
|
|
|
<application>tar</application> package in <acronym>LFS</acronym>.</para>
|
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Contents</title>
|
2004-12-22 01:25:57 +08:00
|
|
|
|
|
|
|
<para>The <application>cpio</application> package contains
|
|
|
|
<command>cpio</command> and <command>mt</command>.</para>
|
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
</sect2>
|
2004-12-22 01:25:57 +08:00
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
<sect2><title>Description</title>
|
2004-12-22 01:25:57 +08:00
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
<sect3><title>cpio</title>
|
2004-12-22 01:25:57 +08:00
|
|
|
<para><command>cpio</command> copies files to and from archives.</para></sect3>
|
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
<sect3><title>mt</title>
|
2004-12-22 01:25:57 +08:00
|
|
|
<para><command>mt</command> controls magnetic tape drive
|
|
|
|
operations.</para></sect3>
|
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
</sect2>
|
2002-08-17 05:36:14 +08:00
|
|
|
|
|
|
|
</sect1>
|
|
|
|
|