source: general/sysutils/cpio.xml@ 6a2bce2

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 6a2bce2 was 0882c90, checked in by Randy McMurchy <randy@…>, 19 years ago

Updated to cpio-2.6

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3132 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 3.2 KB
Line 
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 "448 KB">
10<!ENTITY cpio-buildsize "5.4 MB">
11<!ENTITY cpio-time "0.12 SBU">
12]>
13
14<sect1 id="cpio" xreflabel="cpio-&cpio-version;">
15<sect1info>
16<othername>$LastChangedBy$</othername>
17<date>$Date$</date>
18</sect1info>
19<?dbhtml filename="cpio.html"?>
20<title>cpio-&cpio-version;</title>
21
22<sect2>
23<title>Introduction to <application>cpio</application></title>
24
25<para>The <application>cpio</application> package contains
26tools for archiving.</para>
27
28<sect3><title>Package information</title>
29<itemizedlist spacing='compact'>
30<listitem><para>Download (HTTP): <ulink
31url="&cpio-download-http;"/></para></listitem>
32<listitem><para>Download (FTP): <ulink
33url="&cpio-download-ftp;"/></para></listitem>
34<listitem><para>Download size: &cpio-size;</para></listitem>
35<listitem><para>Estimated disk space required:
36&cpio-buildsize;</para></listitem>
37<listitem><para>Estimated build time:
38&cpio-time;</para></listitem></itemizedlist>
39</sect3>
40
41</sect2>
42
43<sect2>
44<title>Installation of <application>cpio</application></title>
45
46<para>Install <application>cpio</application> by running the following commands:
47</para>
48
49<screen><userinput><command>sed -i -e "s/invalid_arg/argmatch_invalid/" src/mt.c &amp;&amp;
50./configure CPIO_MT_PROG=mt --prefix=/usr \
51 --bindir=/bin --libexecdir=/tmp \
52 --with-rmt=/usr/sbin/rmt &amp;&amp;
53make &amp;&amp;
54make install</command></userinput></screen>
55
56</sect2>
57
58<sect2>
59<title>Command explanations</title>
60
61<para><command>sed -i -e "s/invalid_arg/argmatch_invalid/" src/mt.c</command>:
62This command fixes a build problem in the <command>mt</command> program.</para>
63
64<para><parameter>CPIO_MT_PROG=mt</parameter>: This parameter forces the
65building and installation of the <command>mt</command> program.</para>
66
67<para><parameter>--bindir=/bin</parameter>: This parameter installs
68<command>cpio</command> to <filename class="directory">/bin</filename> instead
69of <filename class="directory">/usr/bin</filename> as per
70<acronym>FHS</acronym> guidelines.</para>
71
72<para><parameter>--libexecdir=/tmp</parameter>: This parameter is used so
73that <filename class='directory'>/usr/libexec</filename> is not created.</para>
74
75<para><parameter>--with-rmt=/usr/sbin/rmt</parameter>: This parameter inhibits
76building the <command>rmt</command> program as it is already installed by the
77<application>tar</application> package in <acronym>LFS</acronym>.</para>
78
79</sect2>
80
81<sect2>
82<title>Contents</title>
83
84<para>The <application>cpio</application> package contains
85<command>cpio</command> and <command>mt</command>.</para>
86
87</sect2>
88
89<sect2><title>Description</title>
90
91<sect3><title>cpio</title>
92<para><command>cpio</command> copies files to and from archives.</para></sect3>
93
94<sect3><title>mt</title>
95<para><command>mt</command> controls magnetic tape drive
96operations.</para></sect3>
97
98</sect2>
99
100</sect1>
101
Note: See TracBrowser for help on using the repository browser.