[2180f912] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[fe83f5c] | 7 | <!ENTITY pax-download-http "http://www.mirbsd.org/MirOS/dist/mir/cpio/paxmirabilis-&pax-version;.tgz">
|
---|
[2180f912] | 8 | <!ENTITY pax-download-ftp " ">
|
---|
[8fa893e] | 9 | <!ENTITY pax-md5sum "87a0a3870ec437c41eb1b406334fe2c5">
|
---|
| 10 | <!ENTITY pax-size "172 KB">
|
---|
| 11 | <!ENTITY pax-buildsize "1.2 MB">
|
---|
[2180f912] | 12 | <!ENTITY pax-time "less than 0.1 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="pax" xreflabel="Pax-&pax-version;">
|
---|
| 16 | <?dbhtml filename="pax.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
| 21 |
|
---|
| 22 | <title>Pax-&pax-version;</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="pax">
|
---|
| 25 | <primary sortas="a-pax">pax</primary>
|
---|
| 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to Pax</title>
|
---|
| 30 |
|
---|
| 31 | <para>
|
---|
| 32 | <application>pax</application> is an archiving utility created by POSIX
|
---|
| 33 | and defined by the POSIX.1-2001 standard. Rather than sort out the
|
---|
| 34 | incompatible options that have crept up between
|
---|
| 35 | <application>tar</application> and <application>cpio</application>,
|
---|
| 36 | along with their implementations across various versions of UNIX, the
|
---|
| 37 | IEEE designed a new archive utility. The name <quote>pax</quote> is
|
---|
| 38 | an acronym for portable archive exchange. Furthermore,
|
---|
| 39 | <quote>pax</quote> means <quote>peace</quote> in Latin, so its name
|
---|
| 40 | implies that it shall create peace between the
|
---|
| 41 | <application>tar</application> and <application>cpio</application>
|
---|
| 42 | format supporters. The command invocation and command structure is
|
---|
| 43 | somewhat a unification of both <application>tar</application> and
|
---|
| 44 | <application>cpio</application>.
|
---|
| 45 | </para>
|
---|
| 46 | <para>
|
---|
| 47 | <application>pax</application> has been required to be present in LSB
|
---|
| 48 | conformant systems since LSB version 3.0.
|
---|
| 49 | </para>
|
---|
| 50 |
|
---|
[ce1dd9df] | 51 | &lfs112_checked;
|
---|
[2180f912] | 52 |
|
---|
| 53 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 54 | <itemizedlist spacing="compact">
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>
|
---|
| 57 | Download (HTTP): <ulink url="&pax-download-http;"/>
|
---|
| 58 | </para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>
|
---|
| 62 | Download (FTP): <ulink url="&pax-download-ftp;"/>
|
---|
| 63 | </para>
|
---|
| 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
| 66 | <para>
|
---|
| 67 | Download MD5 sum: &pax-md5sum;
|
---|
| 68 | </para>
|
---|
| 69 | </listitem>
|
---|
| 70 | <listitem>
|
---|
| 71 | <para>
|
---|
| 72 | Download size: &pax-size;
|
---|
| 73 | </para>
|
---|
| 74 | </listitem>
|
---|
| 75 | <listitem>
|
---|
| 76 | <para>
|
---|
| 77 | Estimated disk space required: &pax-buildsize;
|
---|
| 78 | </para>
|
---|
| 79 | </listitem>
|
---|
| 80 | <listitem>
|
---|
| 81 | <para>
|
---|
| 82 | Estimated build time: &pax-time;
|
---|
| 83 | </para>
|
---|
| 84 | </listitem>
|
---|
| 85 | </itemizedlist>
|
---|
[71654ad] | 86 | <!--
|
---|
[20a27fc] | 87 | <bridgehead renderas="sect3">Pax Dependencies</bridgehead>
|
---|
| 88 |
|
---|
| 89 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 90 | <para role="required">
|
---|
| 91 | <xref linkend="cpio"/></para>
|
---|
[24b90dd] | 92 | -->
|
---|
[2180f912] | 93 | <para condition="html" role="usernotes">
|
---|
| 94 | User Notes: <ulink url="&blfs-wiki;/pax"/>
|
---|
| 95 | </para>
|
---|
[24b90dd] | 96 |
|
---|
[2180f912] | 97 | </sect2>
|
---|
| 98 |
|
---|
| 99 | <sect2 role="installation">
|
---|
| 100 | <title>Installation of Pax</title>
|
---|
| 101 |
|
---|
[8fa893e] | 102 | <para>Install pax by running the following commands:.</para>
|
---|
[2180f912] | 103 |
|
---|
[8fa893e] | 104 | <note>
|
---|
| 105 | <para>This package expands to the directory <emphasis>pax</emphasis>.</para>
|
---|
| 106 | </note>
|
---|
[20a27fc] | 107 |
|
---|
[8fa893e] | 108 | <screen><userinput>bash Build.sh</userinput></screen>
|
---|
[96ed758] | 109 |
|
---|
[8fa893e] | 110 | <para>This package does not come with a test suite.</para>
|
---|
[2180f912] | 111 |
|
---|
| 112 | <para>
|
---|
| 113 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 114 | </para>
|
---|
| 115 |
|
---|
[8fa893e] | 116 | <note>
|
---|
[8558044] | 117 | <para>This package also creates hard links from <command>pax</command>
|
---|
| 118 | to the programs <command>cpio</command> and <command>tar</command> in
|
---|
| 119 | the build directory. The LFS editors do not recommend that they be
|
---|
[8fa893e] | 120 | installed as they will overwrite the GNU versions of these programs.</para>
|
---|
| 121 | </note>
|
---|
[2180f912] | 122 |
|
---|
[a19b7a4] | 123 | <screen role="root"><userinput>install -v pax /usr/bin &&
|
---|
[8fa893e] | 124 | install -v -m644 pax.1 /usr/share/man/man1</userinput></screen>
|
---|
[a19b7a4] | 125 |
|
---|
[2180f912] | 126 | </sect2>
|
---|
| 127 |
|
---|
| 128 | <sect2 role="content">
|
---|
| 129 | <title>Contents</title>
|
---|
| 130 |
|
---|
| 131 | <segmentedlist>
|
---|
| 132 | <segtitle>Installed Program</segtitle>
|
---|
| 133 |
|
---|
| 134 | <seglistitem>
|
---|
| 135 | <seg>
|
---|
[e6fb085] | 136 | pax
|
---|
[2180f912] | 137 | </seg>
|
---|
| 138 | </seglistitem>
|
---|
| 139 | </segmentedlist>
|
---|
| 140 |
|
---|
| 141 | <variablelist>
|
---|
| 142 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 143 | <?dbfo list-presentation="list"?>
|
---|
| 144 | <?dbhtml list-presentation="table"?>
|
---|
| 145 |
|
---|
| 146 | <varlistentry id="pax-prog">
|
---|
| 147 | <term><command>pax</command></term>
|
---|
| 148 | <listitem>
|
---|
| 149 | <para>
|
---|
[4c24eb0a] | 150 | copies files to and from archives in several formats
|
---|
[2180f912] | 151 | </para>
|
---|
| 152 | <indexterm zone="pax pax-prog">
|
---|
| 153 | <primary sortas="b-pax">pax</primary>
|
---|
| 154 | </indexterm>
|
---|
| 155 | </listitem>
|
---|
| 156 | </varlistentry>
|
---|
| 157 | </variablelist>
|
---|
| 158 | </sect2>
|
---|
[4c24eb0a] | 159 |
|
---|
[2180f912] | 160 | </sect1>
|
---|