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