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 | <?dbhtml filename="cpio.html"?>
|
---|
17 | <title>cpio-&cpio-version;</title>
|
---|
18 |
|
---|
19 | <sect2>
|
---|
20 | <title>Introduction to <application>cpio</application></title>
|
---|
21 |
|
---|
22 |
|
---|
23 | <para>The <application>cpio</application> package contains
|
---|
24 | tools for archiving.</para>
|
---|
25 |
|
---|
26 | <sect3><title>Package information</title>
|
---|
27 | <itemizedlist spacing='compact'>
|
---|
28 | <listitem><para>Download (HTTP): <ulink
|
---|
29 | url="&cpio-download-http;"/></para></listitem>
|
---|
30 | <listitem><para>Download (FTP): <ulink
|
---|
31 | url="&cpio-download-ftp;"/></para></listitem>
|
---|
32 | <listitem><para>Download size: &cpio-size;</para></listitem>
|
---|
33 | <listitem><para>Estimated Disk space required:
|
---|
34 | &cpio-buildsize;</para></listitem>
|
---|
35 | <listitem><para>Estimated build time:
|
---|
36 | &cpio-time;</para></listitem></itemizedlist>
|
---|
37 | </sect3>
|
---|
38 |
|
---|
39 |
|
---|
40 | </sect2>
|
---|
41 |
|
---|
42 | <sect2>
|
---|
43 | <title>Installation of <application>cpio</application></title>
|
---|
44 |
|
---|
45 | <para>Install <application>cpio</application> by running the following commands:
|
---|
46 | </para>
|
---|
47 |
|
---|
48 | <screen><userinput><command>./configure --prefix=/usr --libexecdir=/tmp/cpio \
|
---|
49 | --bindir=/bin &&
|
---|
50 | make &&
|
---|
51 | make install &&
|
---|
52 | rm -rf /tmp/cpio</command></userinput></screen>
|
---|
53 |
|
---|
54 | </sect2>
|
---|
55 |
|
---|
56 | <sect2>
|
---|
57 | <title>Command explanations</title>
|
---|
58 |
|
---|
59 | <para><parameter>--libexec=/tmp/cpio</parameter>: This command installs
|
---|
60 | <command>rmt</command> to <filename class="directory">/tmp/cpio</filename> so
|
---|
61 | that it can be removed. The <command>rmt</command> executable is already
|
---|
62 | installed by the <application>tar</application> package in
|
---|
63 | <acronym>LFS</acronym>.</para>
|
---|
64 |
|
---|
65 | <para><parameter>--bindir=/bin</parameter>: This command installs
|
---|
66 | <command>cpio</command> to <filename class="directory">/bin</filename> instead
|
---|
67 | of <filename class="directory">/usr/bin</filename> as per
|
---|
68 | <acronym>FHS</acronym> guidelines.</para>
|
---|
69 |
|
---|
70 | </sect2>
|
---|
71 |
|
---|
72 | <sect2>
|
---|
73 | <title>Contents</title>
|
---|
74 |
|
---|
75 | <para>The <application>cpio</application> package contains <command>cpio
|
---|
76 | </command> and <command>mt</command>.</para>
|
---|
77 |
|
---|
78 | </sect2>
|
---|
79 |
|
---|
80 | <sect2><title>Description</title>
|
---|
81 |
|
---|
82 | <sect3><title>cpio</title>
|
---|
83 | <para><command>cpio</command> copies files to and from archives.</para></sect3>
|
---|
84 | <sect3><title>mt</title>
|
---|
85 | <para><command>mt</command> controls magnetic tape drive operations.</para></sect3>
|
---|
86 |
|
---|
87 | <!--
|
---|
88 | <sect3><title>rmt</title>
|
---|
89 | <para><command>rmt</command> controls remote magnetic tape drive operations.</para></sect3>
|
---|
90 | -->
|
---|
91 |
|
---|
92 | </sect2>
|
---|
93 |
|
---|
94 | </sect1>
|
---|
95 |
|
---|