[673b0d8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[1770019] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[673b0d8] | 3 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
[3e36a78] | 4 | <!ENTITY % patches-entities SYSTEM "../patches.ent">
|
---|
[673b0d8] | 5 | %general-entities;
|
---|
[3e36a78] | 6 | %patches-entities;
|
---|
[673b0d8] | 7 | ]>
|
---|
[81fd230] | 8 | <sect1 id="ch-system-tar" role="wrap">
|
---|
[673b0d8] | 9 | <title>Tar-&tar-version;</title>
|
---|
| 10 | <?dbhtml filename="tar.html"?>
|
---|
| 11 |
|
---|
| 12 | <indexterm zone="ch-system-tar"><primary sortas="a-Tar">Tar</primary></indexterm>
|
---|
[6370fa6] | 13 |
|
---|
[a001133] | 14 | <sect2 role="package"><title/>
|
---|
[81fd230] | 15 | <para>The Tar package contains an archiving program.</para>
|
---|
[5888299] | 16 |
|
---|
[a001133] | 17 | <segmentedlist>
|
---|
| 18 | <segtitle>&buildtime;</segtitle>
|
---|
| 19 | <segtitle>&diskspace;</segtitle>
|
---|
[eb6d9eb] | 20 | <seglistitem><seg>0.2 SBU</seg><seg>12.7 MB</seg></seglistitem>
|
---|
[a001133] | 21 | </segmentedlist>
|
---|
[673b0d8] | 22 |
|
---|
[81fd230] | 23 | <segmentedlist>
|
---|
[45992ae] | 24 | <segtitle>&dependencies;</segtitle>
|
---|
[81fd230] | 25 | <seglistitem><seg>Bash, Binutils, Coreutils,
|
---|
| 26 | Diffutils, GCC, Gettext, Glibc, Grep, Make, and Sed</seg></seglistitem>
|
---|
| 27 | </segmentedlist>
|
---|
[a001133] | 28 | </sect2>
|
---|
[3554fa3a] | 29 |
|
---|
[a001133] | 30 | <sect2 role="installation">
|
---|
[73aedd1d] | 31 | <title>Installation of Tar</title>
|
---|
| 32 |
|
---|
[2a0a14b] | 33 | <para>Tar has a bug when the <parameter>-S</parameter> option is used
|
---|
[801e4b5] | 34 | with files larger than 4 GB. The following patch properly fixes this issue:</para>
|
---|
[5c0f191] | 35 |
|
---|
[3e36a78] | 36 | <screen><userinput>patch -Np1 -i ../&tar-sparse_fix-patch;</userinput></screen>
|
---|
[5c0f191] | 37 |
|
---|
[73aedd1d] | 38 | <para>Prepare Tar for compilation:</para>
|
---|
| 39 |
|
---|
[c76accc] | 40 | <screen><userinput>./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin</userinput></screen>
|
---|
[73aedd1d] | 41 |
|
---|
| 42 | <para>Compile the package:</para>
|
---|
| 43 |
|
---|
| 44 | <screen><userinput>make</userinput></screen>
|
---|
| 45 |
|
---|
[673b0d8] | 46 | <para>To test the results, issue:
|
---|
[8a5f906] | 47 | <userinput>make check</userinput>.</para>
|
---|
[73aedd1d] | 48 |
|
---|
[81fd230] | 49 | <para>Install the package:</para>
|
---|
[73aedd1d] | 50 |
|
---|
| 51 | <screen><userinput>make install</userinput></screen>
|
---|
| 52 |
|
---|
| 53 | </sect2>
|
---|
[6370fa6] | 54 |
|
---|
[5888299] | 55 |
|
---|
[c6cb3aa] | 56 | <sect2 id="contents-tar" role="content"><title>Contents of Tar</title>
|
---|
[673b0d8] | 57 |
|
---|
[81fd230] | 58 | <segmentedlist>
|
---|
| 59 | <segtitle>Installed programs</segtitle>
|
---|
| 60 | <seglistitem><seg>rmt and tar</seg></seglistitem>
|
---|
| 61 | </segmentedlist>
|
---|
| 62 |
|
---|
| 63 | <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 64 | <?dbfo list-presentation="list"?>
|
---|
[8f97096] | 65 | <?dbhtml list-presentation="table"?>
|
---|
[81fd230] | 66 |
|
---|
| 67 | <varlistentry id="rmt">
|
---|
| 68 | <term><command>rmt</command></term>
|
---|
| 69 | <listitem>
|
---|
| 70 | <para>Remotely manipulates a magnetic
|
---|
| 71 | tape drive through an interprocess communication connection</para>
|
---|
| 72 | <indexterm zone="ch-system-tar rmt"><primary sortas="b-rmt">rmt</primary></indexterm>
|
---|
| 73 | </listitem>
|
---|
| 74 | </varlistentry>
|
---|
| 75 |
|
---|
| 76 | <varlistentry id="tar">
|
---|
| 77 | <term><command>tar</command></term>
|
---|
| 78 | <listitem>
|
---|
[2a0a14b] | 79 | <para>Creates, extracts files from, and lists the contents of archives,
|
---|
| 80 | also known as tarballs</para>
|
---|
[81fd230] | 81 | <indexterm zone="ch-system-tar tar"><primary sortas="b-tar">tar</primary></indexterm>
|
---|
| 82 | </listitem>
|
---|
| 83 | </varlistentry>
|
---|
| 84 | </variablelist>
|
---|
[673b0d8] | 85 |
|
---|
| 86 | </sect2>
|
---|
| 87 |
|
---|
| 88 | </sect1>
|
---|
[81fd230] | 89 |
|
---|