1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY cpio-download-http "http://ftp.gnu.org/pub/gnu/cpio/cpio-&cpio-version;.tar.gz">
|
---|
8 | <!ENTITY cpio-download-ftp "ftp://ftp.gnu.org/pub/gnu/cpio/cpio-&cpio-version;.tar.gz">
|
---|
9 | <!ENTITY cpio-size "188 KB">
|
---|
10 | <!ENTITY cpio-buildsize "1 MB">
|
---|
11 | <!ENTITY cpio-time "0.06 SBU">
|
---|
12 |
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="cpio" xreflabel="cpio-&cpio-version;">
|
---|
16 | <sect1info>
|
---|
17 | <othername>$LastChangedBy$</othername>
|
---|
18 | <date>$Date$</date>
|
---|
19 | </sect1info>
|
---|
20 | <?dbhtml filename="cpio.html"?>
|
---|
21 | <title>cpio-&cpio-version;</title>
|
---|
22 |
|
---|
23 | <sect2>
|
---|
24 | <title>Introduction to <application>cpio</application></title>
|
---|
25 |
|
---|
26 |
|
---|
27 | <para>The <application>cpio</application> package contains
|
---|
28 | tools for archiving.</para>
|
---|
29 |
|
---|
30 | <sect3><title>Package information</title>
|
---|
31 | <itemizedlist spacing='compact'>
|
---|
32 | <listitem><para>Download (HTTP): <ulink
|
---|
33 | url="&cpio-download-http;"/></para></listitem>
|
---|
34 | <listitem><para>Download (FTP): <ulink
|
---|
35 | url="&cpio-download-ftp;"/></para></listitem>
|
---|
36 | <listitem><para>Download size: &cpio-size;</para></listitem>
|
---|
37 | <listitem><para>Estimated Disk space required:
|
---|
38 | &cpio-buildsize;</para></listitem>
|
---|
39 | <listitem><para>Estimated build time:
|
---|
40 | &cpio-time;</para></listitem></itemizedlist>
|
---|
41 | </sect3>
|
---|
42 |
|
---|
43 |
|
---|
44 | </sect2>
|
---|
45 |
|
---|
46 | <sect2>
|
---|
47 | <title>Installation of <application>cpio</application></title>
|
---|
48 |
|
---|
49 | <para>Install <application>cpio</application> by running the following commands:
|
---|
50 | </para>
|
---|
51 |
|
---|
52 | <screen><userinput><command>./configure --prefix=/usr --libexecdir=/tmp/cpio \
|
---|
53 | --bindir=/bin &&
|
---|
54 | make &&
|
---|
55 | make install &&
|
---|
56 | rm -rf /tmp/cpio</command></userinput></screen>
|
---|
57 |
|
---|
58 | </sect2>
|
---|
59 |
|
---|
60 | <sect2>
|
---|
61 | <title>Command explanations</title>
|
---|
62 |
|
---|
63 | <para><parameter>--libexec=/tmp/cpio</parameter>: This command installs
|
---|
64 | <command>rmt</command> to <filename class="directory">/tmp/cpio</filename> so
|
---|
65 | that it can be removed. The <command>rmt</command> executable is already
|
---|
66 | installed by the <application>tar</application> package in
|
---|
67 | <acronym>LFS</acronym>.</para>
|
---|
68 |
|
---|
69 | <para><parameter>--bindir=/bin</parameter>: This command installs
|
---|
70 | <command>cpio</command> to <filename class="directory">/bin</filename> instead
|
---|
71 | of <filename class="directory">/usr/bin</filename> as per
|
---|
72 | <acronym>FHS</acronym> guidelines.</para>
|
---|
73 |
|
---|
74 | </sect2>
|
---|
75 |
|
---|
76 | <sect2>
|
---|
77 | <title>Contents</title>
|
---|
78 |
|
---|
79 | <para>The <application>cpio</application> package contains <command>cpio
|
---|
80 | </command> and <command>mt</command>.</para>
|
---|
81 |
|
---|
82 | </sect2>
|
---|
83 |
|
---|
84 | <sect2><title>Description</title>
|
---|
85 |
|
---|
86 | <sect3><title>cpio</title>
|
---|
87 | <para><command>cpio</command> copies files to and from archives.</para></sect3>
|
---|
88 | <sect3><title>mt</title>
|
---|
89 | <para><command>mt</command> controls magnetic tape drive operations.</para></sect3>
|
---|
90 |
|
---|
91 | <!--
|
---|
92 | <sect3><title>rmt</title>
|
---|
93 | <para><command>rmt</command> controls remote magnetic tape drive operations.</para></sect3>
|
---|
94 | -->
|
---|
95 |
|
---|
96 | </sect2>
|
---|
97 |
|
---|
98 | </sect1>
|
---|
99 |
|
---|