Blame doc/man/libarchive-formats.5

Packit Service 1d0348
.TH LIBARCHIVE-FORMATS 5 "December 27, 2016" ""
Packit Service 1d0348
.SH NAME
Packit Service 1d0348
.ad l
Packit Service 1d0348
\fB\%libarchive-formats\fP
Packit Service 1d0348
\- archive formats supported by the libarchive library
Packit Service 1d0348
.SH DESCRIPTION
Packit Service 1d0348
.ad l
Packit Service 1d0348
The
Packit Service 1d0348
\fBlibarchive\fP(3)
Packit Service 1d0348
library reads and writes a variety of streaming archive formats.
Packit Service 1d0348
Generally speaking, all of these archive formats consist of a series of
Packit Service 1d0348
``entries''.
Packit Service 1d0348
Each entry stores a single file system object, such as a file, directory,
Packit Service 1d0348
or symbolic link.
Packit Service 1d0348
.PP
Packit Service 1d0348
The following provides a brief description of each format supported
Packit Service 1d0348
by libarchive, with some information about recognized extensions or
Packit Service 1d0348
limitations of the current library support.
Packit Service 1d0348
Note that just because a format is supported by libarchive does not
Packit Service 1d0348
imply that a program that uses libarchive will support that format.
Packit Service 1d0348
Applications that use libarchive specify which formats they wish
Packit Service 1d0348
to support, though many programs do use libarchive convenience
Packit Service 1d0348
functions to enable all supported formats.
Packit Service 1d0348
.SS Tar Formats
Packit Service 1d0348
The
Packit Service 1d0348
\fBlibarchive\fP(3)
Packit Service 1d0348
library can read most tar archives.
Packit Service 1d0348
It can write POSIX-standard
Packit Service 1d0348
``ustar''
Packit Service 1d0348
and
Packit Service 1d0348
``pax interchange''
Packit Service 1d0348
formats as well as v7 tar format and a subset of the legacy GNU tar format.
Packit Service 1d0348
.PP
Packit Service 1d0348
All tar formats store each entry in one or more 512-byte records.
Packit Service 1d0348
The first record is used for file metadata, including filename,
Packit Service 1d0348
timestamp, and mode information, and the file data is stored in
Packit Service 1d0348
subsequent records.
Packit Service 1d0348
Later variants have extended this by either appropriating undefined
Packit Service 1d0348
areas of the header record, extending the header to multiple records,
Packit Service 1d0348
or by storing special entries that modify the interpretation of
Packit Service 1d0348
subsequent entries.
Packit Service 1d0348
.RS 5
Packit Service 1d0348
.TP
Packit Service 1d0348
\fBgnutar\fP
Packit Service 1d0348
The
Packit Service 1d0348
\fBlibarchive\fP(3)
Packit Service 1d0348
library can read most GNU-format tar archives.
Packit Service 1d0348
It currently supports the most popular GNU extensions, including
Packit Service 1d0348
modern long filename and linkname support, as well as atime and ctime data.
Packit Service 1d0348
The libarchive library does not support multi-volume
Packit Service 1d0348
archives, nor the old GNU long filename format.
Packit Service 1d0348
It can read GNU sparse file entries, including the new POSIX-based
Packit Service 1d0348
formats.
Packit Service 1d0348
.PP
Packit Service 1d0348
The
Packit Service 1d0348
\fBlibarchive\fP(3)
Packit Service 1d0348
library can write GNU tar format, including long filename
Packit Service 1d0348
and linkname support, as well as atime and ctime data.
Packit Service 1d0348
.TP
Packit Service 1d0348
\fBpax\fP
Packit Service 1d0348
The
Packit Service 1d0348
\fBlibarchive\fP(3)
Packit Service 1d0348
library can read and write POSIX-compliant pax interchange format
Packit Service 1d0348
archives.
Packit Service 1d0348
Pax interchange format archives are an extension of the older ustar
Packit Service 1d0348
format that adds a separate entry with additional attributes stored
Packit Service 1d0348
as key/value pairs immediately before each regular entry.
Packit Service 1d0348
The presence of these additional entries is the only difference between
Packit Service 1d0348
pax interchange format and the older ustar format.
Packit Service 1d0348
The extended attributes are of unlimited length and are stored
Packit Service 1d0348
as UTF-8 Unicode strings.
Packit Service 1d0348
Keywords defined in the standard are in all lowercase; vendors are allowed
Packit Service 1d0348
to define custom keys by preceding them with the vendor name in all uppercase.
Packit Service 1d0348
When writing pax archives, libarchive uses many of the SCHILY keys
Packit Service 1d0348
defined by Joerg Schilling's
Packit Service 1d0348
``star''
Packit Service 1d0348
archiver and a few LIBARCHIVE keys.
Packit Service 1d0348
The libarchive library can read most of the SCHILY keys
Packit Service 1d0348
and most of the GNU keys introduced by GNU tar.
Packit Service 1d0348
It silently ignores any keywords that it does not understand.
Packit Service 1d0348
.PP
Packit Service 1d0348
The pax interchange format converts filenames to Unicode
Packit Service 1d0348
and stores them using the UTF-8 encoding.
Packit Service 1d0348
Prior to libarchive 3.0, libarchive erroneously assumed
Packit Service 1d0348
that the system wide-character routines natively supported
Packit Service 1d0348
Unicode.
Packit Service 1d0348
This caused it to mis-handle non-ASCII filenames on systems
Packit Service 1d0348
that did not satisfy this assumption.
Packit Service 1d0348
.TP
Packit Service 1d0348
\fBrestricted\fP pax
Packit Service 1d0348
The libarchive library can also write pax archives in which it
Packit Service 1d0348
attempts to suppress the extended attributes entry whenever
Packit Service 1d0348
possible.
Packit Service 1d0348
The result will be identical to a ustar archive unless the
Packit Service 1d0348
extended attributes entry is required to store a long file
Packit Service 1d0348
name, long linkname, extended ACL, file flags, or if any of the standard
Packit Service 1d0348
ustar data (user name, group name, UID, GID, etc) cannot be fully
Packit Service 1d0348
represented in the ustar header.
Packit Service 1d0348
In all cases, the result can be dearchived by any program that
Packit Service 1d0348
can read POSIX-compliant pax interchange format archives.
Packit Service 1d0348
Programs that correctly read ustar format (see below) will also be
Packit Service 1d0348
able to read this format; any extended attributes will be extracted as
Packit Service 1d0348
separate files stored in
Packit Service 1d0348
\fIPaxHeader\fP
Packit Service 1d0348
directories.
Packit Service 1d0348
.TP
Packit Service 1d0348
\fBustar\fP
Packit Service 1d0348
The libarchive library can both read and write this format.
Packit Service 1d0348
This format has the following limitations:
Packit Service 1d0348
.RS 5
Packit Service 1d0348
.IP \(bu
Packit Service 1d0348
Device major and minor numbers are limited to 21 bits.
Packit Service 1d0348
Nodes with larger numbers will not be added to the archive.
Packit Service 1d0348
.IP \(bu
Packit Service 1d0348
Path names in the archive are limited to 255 bytes.
Packit Service 1d0348
(Shorter if there is no / character in exactly the right place.)
Packit Service 1d0348
.IP \(bu
Packit Service 1d0348
Symbolic links and hard links are stored in the archive with
Packit Service 1d0348
the name of the referenced file.
Packit Service 1d0348
This name is limited to 100 bytes.
Packit Service 1d0348
.IP \(bu
Packit Service 1d0348
Extended attributes, file flags, and other extended
Packit Service 1d0348
security information cannot be stored.
Packit Service 1d0348
.IP \(bu
Packit Service 1d0348
Archive entries are limited to 8 gigabytes in size.
Packit Service 1d0348
.RE
Packit Service 1d0348
Note that the pax interchange format has none of these restrictions.
Packit Service 1d0348
The ustar format is old and widely supported.
Packit Service 1d0348
It is recommended when compatibility is the primary concern.
Packit Service 1d0348
.TP
Packit Service 1d0348
\fBv7\fP
Packit Service 1d0348
The libarchive library can read and write the legacy v7 tar format.
Packit Service 1d0348
This format has the following limitations:
Packit Service 1d0348
.RS 5
Packit Service 1d0348
.IP \(bu
Packit Service 1d0348
Only regular files, directories, and symbolic links can be archived.
Packit Service 1d0348
Block and character device nodes, FIFOs, and sockets cannot be archived.
Packit Service 1d0348
.IP \(bu
Packit Service 1d0348
Path names in the archive are limited to 100 bytes.
Packit Service 1d0348
.IP \(bu
Packit Service 1d0348
Symbolic links and hard links are stored in the archive with
Packit Service 1d0348
the name of the referenced file.
Packit Service 1d0348
This name is limited to 100 bytes.
Packit Service 1d0348
.IP \(bu
Packit Service 1d0348
User and group information are stored as numeric IDs; there
Packit Service 1d0348
is no provision for storing user or group names.
Packit Service 1d0348
.IP \(bu
Packit Service 1d0348
Extended attributes, file flags, and other extended
Packit Service 1d0348
security information cannot be stored.
Packit Service 1d0348
.IP \(bu
Packit Service 1d0348
Archive entries are limited to 8 gigabytes in size.
Packit Service 1d0348
.RE
Packit Service 1d0348
Generally, users should prefer the ustar format for portability
Packit Service 1d0348
as the v7 tar format is both less useful and less portable.
Packit Service 1d0348
.RE
Packit Service 1d0348
.PP
Packit Service 1d0348
The libarchive library also reads a variety of commonly-used extensions to
Packit Service 1d0348
the basic tar format.
Packit Service 1d0348
These extensions are recognized automatically whenever they appear.
Packit Service 1d0348
.RS 5
Packit Service 1d0348
.TP
Packit Service 1d0348
Numeric extensions.
Packit Service 1d0348
The POSIX standards require fixed-length numeric fields to be written with
Packit Service 1d0348
some character position reserved for terminators.
Packit Service 1d0348
Libarchive allows these fields to be written without terminator characters.
Packit Service 1d0348
This extends the allowable range; in particular, ustar archives with this
Packit Service 1d0348
extension can support entries up to 64 gigabytes in size.
Packit Service 1d0348
Libarchive also recognizes base-256 values in most numeric fields.
Packit Service 1d0348
This essentially removes all limitations on file size, modification time,
Packit Service 1d0348
and device numbers.
Packit Service 1d0348
.TP
Packit Service 1d0348
Solaris extensions
Packit Service 1d0348
Libarchive recognizes ACL and extended attribute records written
Packit Service 1d0348
by Solaris tar.
Packit Service 1d0348
.RE
Packit Service 1d0348
.PP
Packit Service 1d0348
The first tar program appeared in Seventh Edition Unix in 1979.
Packit Service 1d0348
The first official standard for the tar file format was the
Packit Service 1d0348
``ustar''
Packit Service 1d0348
(Unix Standard Tar) format defined by POSIX in 1988.
Packit Service 1d0348
POSIX.1-2001 extended the ustar format to create the
Packit Service 1d0348
``pax interchange''
Packit Service 1d0348
format.
Packit Service 1d0348
.SS Cpio Formats
Packit Service 1d0348
The libarchive library can read a number of common cpio variants and can write
Packit Service 1d0348
``odc''
Packit Service 1d0348
and
Packit Service 1d0348
``newc''
Packit Service 1d0348
format archives.
Packit Service 1d0348
A cpio archive stores each entry as a fixed-size header followed
Packit Service 1d0348
by a variable-length filename and variable-length data.
Packit Service 1d0348
Unlike the tar format, the cpio format does only minimal padding
Packit Service 1d0348
of the header or file data.
Packit Service 1d0348
There are several cpio variants, which differ primarily in
Packit Service 1d0348
how they store the initial header: some store the values as
Packit Service 1d0348
octal or hexadecimal numbers in ASCII, others as binary values of
Packit Service 1d0348
varying byte order and length.
Packit Service 1d0348
.RS 5
Packit Service 1d0348
.TP
Packit Service 1d0348
\fBbinary\fP
Packit Service 1d0348
The libarchive library transparently reads both big-endian and little-endian
Packit Service 1d0348
variants of the original binary cpio format.
Packit Service 1d0348
This format used 32-bit binary values for file size and mtime,
Packit Service 1d0348
and 16-bit binary values for the other fields.
Packit Service 1d0348
.TP
Packit Service 1d0348
\fBodc\fP
Packit Service 1d0348
The libarchive library can both read and write this
Packit Service 1d0348
POSIX-standard format, which is officially known as the
Packit Service 1d0348
``cpio interchange format''
Packit Service 1d0348
or the
Packit Service 1d0348
``octet-oriented cpio archive format''
Packit Service 1d0348
and sometimes unofficially referred to as the
Packit Service 1d0348
``old character format''.
Packit Service 1d0348
This format stores the header contents as octal values in ASCII.
Packit Service 1d0348
It is standard, portable, and immune from byte-order confusion.
Packit Service 1d0348
File sizes and mtime are limited to 33 bits (8GB file size),
Packit Service 1d0348
other fields are limited to 18 bits.
Packit Service 1d0348
.TP
Packit Service 1d0348
\fBSVR4/newc\fP
Packit Service 1d0348
The libarchive library can read both CRC and non-CRC variants of
Packit Service 1d0348
this format.
Packit Service 1d0348
The SVR4 format uses eight-digit hexadecimal values for
Packit Service 1d0348
all header fields.
Packit Service 1d0348
This limits file size to 4GB, and also limits the mtime and
Packit Service 1d0348
other fields to 32 bits.
Packit Service 1d0348
The SVR4 format can optionally include a CRC of the file
Packit Service 1d0348
contents, although libarchive does not currently verify this CRC.
Packit Service 1d0348
.RE
Packit Service 1d0348
.PP
Packit Service 1d0348
Cpio first appeared in PWB/UNIX 1.0, which was released within
Packit Service 1d0348
AT&T in 1977.
Packit Service 1d0348
PWB/UNIX 1.0 formed the basis of System III Unix, released outside
Packit Service 1d0348
of AT&T in 1981.
Packit Service 1d0348
This makes cpio older than tar, although cpio was not included
Packit Service 1d0348
in Version 7 AT&T Unix.
Packit Service 1d0348
As a result, the tar command became much better known in universities
Packit Service 1d0348
and research groups that used Version 7.
Packit Service 1d0348
The combination of the
Packit Service 1d0348
\fB\%find\fP
Packit Service 1d0348
and
Packit Service 1d0348
\fB\%cpio\fP
Packit Service 1d0348
utilities provided very precise control over file selection.
Packit Service 1d0348
Unfortunately, the format has many limitations that make it unsuitable
Packit Service 1d0348
for widespread use.
Packit Service 1d0348
Only the POSIX format permits files over 4GB, and its 18-bit
Packit Service 1d0348
limit for most other fields makes it unsuitable for modern systems.
Packit Service 1d0348
In addition, cpio formats only store numeric UID/GID values (not
Packit Service 1d0348
usernames and group names), which can make it very difficult to correctly
Packit Service 1d0348
transfer archives across systems with dissimilar user numbering.
Packit Service 1d0348
.SS Shar Formats
Packit Service 1d0348
A
Packit Service 1d0348
``shell archive''
Packit Service 1d0348
is a shell script that, when executed on a POSIX-compliant
Packit Service 1d0348
system, will recreate a collection of file system objects.
Packit Service 1d0348
The libarchive library can write two different kinds of shar archives:
Packit Service 1d0348
.RS 5
Packit Service 1d0348
.TP
Packit Service 1d0348
\fBshar\fP
Packit Service 1d0348
The traditional shar format uses a limited set of POSIX
Packit Service 1d0348
commands, including
Packit Service 1d0348
\fBecho\fP(1),
Packit Service 1d0348
\fBmkdir\fP(1),
Packit Service 1d0348
and
Packit Service 1d0348
\fBsed\fP(1).
Packit Service 1d0348
It is suitable for portably archiving small collections of plain text files.
Packit Service 1d0348
However, it is not generally well-suited for large archives
Packit Service 1d0348
(many implementations of
Packit Service 1d0348
\fBsh\fP(1)
Packit Service 1d0348
have limits on the size of a script) nor should it be used with non-text files.
Packit Service 1d0348
.TP
Packit Service 1d0348
\fBshardump\fP
Packit Service 1d0348
This format is similar to shar but encodes files using
Packit Service 1d0348
\fBuuencode\fP(1)
Packit Service 1d0348
so that the result will be a plain text file regardless of the file contents.
Packit Service 1d0348
It also includes additional shell commands that attempt to reproduce as
Packit Service 1d0348
many file attributes as possible, including owner, mode, and flags.
Packit Service 1d0348
The additional commands used to restore file attributes make
Packit Service 1d0348
shardump archives less portable than plain shar archives.
Packit Service 1d0348
.RE
Packit Service 1d0348
.SS ISO9660 format
Packit Service 1d0348
Libarchive can read and extract from files containing ISO9660-compliant
Packit Service 1d0348
CDROM images.
Packit Service 1d0348
In many cases, this can remove the need to burn a physical CDROM
Packit Service 1d0348
just in order to read the files contained in an ISO9660 image.
Packit Service 1d0348
It also avoids security and complexity issues that come with
Packit Service 1d0348
virtual mounts and loopback devices.
Packit Service 1d0348
Libarchive supports the most common Rockridge extensions and has partial
Packit Service 1d0348
support for Joliet extensions.
Packit Service 1d0348
If both extensions are present, the Joliet extensions will be
Packit Service 1d0348
used and the Rockridge extensions will be ignored.
Packit Service 1d0348
In particular, this can create problems with hardlinks and symlinks,
Packit Service 1d0348
which are supported by Rockridge but not by Joliet.
Packit Service 1d0348
.PP
Packit Service 1d0348
Libarchive reads ISO9660 images using a streaming strategy.
Packit Service 1d0348
This allows it to read compressed images directly
Packit Service 1d0348
(decompressing on the fly) and allows it to read images
Packit Service 1d0348
directly from network sockets, pipes, and other non-seekable
Packit Service 1d0348
data sources.
Packit Service 1d0348
This strategy works well for optimized ISO9660 images created
Packit Service 1d0348
by many popular programs.
Packit Service 1d0348
Such programs collect all directory information at the beginning
Packit Service 1d0348
of the ISO9660 image so it can be read from a physical disk
Packit Service 1d0348
with a minimum of seeking.
Packit Service 1d0348
However, not all ISO9660 images can be read in this fashion.
Packit Service 1d0348
.PP
Packit Service 1d0348
Libarchive can also write ISO9660 images.
Packit Service 1d0348
Such images are fully optimized with the directory information
Packit Service 1d0348
preceding all file data.
Packit Service 1d0348
This is done by storing all file data to a temporary file
Packit Service 1d0348
while collecting directory information in memory.
Packit Service 1d0348
When the image is finished, libarchive writes out the
Packit Service 1d0348
directory structure followed by the file data.
Packit Service 1d0348
The location used for the temporary file can be changed
Packit Service 1d0348
by the usual environment variables.
Packit Service 1d0348
.SS Zip format
Packit Service 1d0348
Libarchive can read and write zip format archives that have
Packit Service 1d0348
uncompressed entries and entries compressed with the
Packit Service 1d0348
``deflate''
Packit Service 1d0348
algorithm.
Packit Service 1d0348
Other zip compression algorithms are not supported.
Packit Service 1d0348
It can extract jar archives, archives that use Zip64 extensions and
Packit Service 1d0348
self-extracting zip archives.
Packit Service 1d0348
Libarchive can use either of two different strategies for
Packit Service 1d0348
reading Zip archives:
Packit Service 1d0348
a streaming strategy which is fast and can handle extremely
Packit Service 1d0348
large archives, and a seeking strategy which can correctly
Packit Service 1d0348
process self-extracting Zip archives and archives with
Packit Service 1d0348
deleted members or other in-place modifications.
Packit Service 1d0348
.PP
Packit Service 1d0348
The streaming reader processes Zip archives as they are read.
Packit Service 1d0348
It can read archives of arbitrary size from tape or
Packit Service 1d0348
network sockets, and can decode Zip archives that have
Packit Service 1d0348
been separately compressed or encoded.
Packit Service 1d0348
However, self-extracting Zip archives and archives with
Packit Service 1d0348
certain types of modifications cannot be correctly
Packit Service 1d0348
handled.
Packit Service 1d0348
Such archives require that the reader first process the
Packit Service 1d0348
Central Directory, which is ordinarily located
Packit Service 1d0348
at the end of a Zip archive and is thus inaccessible
Packit Service 1d0348
to the streaming reader.
Packit Service 1d0348
If the program using libarchive has enabled seek support, then
Packit Service 1d0348
libarchive will use this to processes the central directory first.
Packit Service 1d0348
.PP
Packit Service 1d0348
In particular, the seeking reader must be used to
Packit Service 1d0348
correctly handle self-extracting archives.
Packit Service 1d0348
Such archives consist of a program followed by a regular
Packit Service 1d0348
Zip archive.
Packit Service 1d0348
The streaming reader cannot parse the initial program
Packit Service 1d0348
portion, but the seeking reader starts by reading the
Packit Service 1d0348
Central Directory from the end of the archive.
Packit Service 1d0348
Similarly, Zip archives that have been modified in-place
Packit Service 1d0348
can have deleted entries or other garbage data that
Packit Service 1d0348
can only be accurately detected by first reading the
Packit Service 1d0348
Central Directory.
Packit Service 1d0348
.SS Archive (library) file format
Packit Service 1d0348
The Unix archive format (commonly created by the
Packit Service 1d0348
\fBar\fP(1)
Packit Service 1d0348
archiver) is a general-purpose format which is
Packit Service 1d0348
used almost exclusively for object files to be
Packit Service 1d0348
read by the link editor
Packit Service 1d0348
\fBld\fP(1).
Packit Service 1d0348
The ar format has never been standardised.
Packit Service 1d0348
There are two common variants:
Packit Service 1d0348
the GNU format derived from SVR4,
Packit Service 1d0348
and the BSD format, which first appeared in 4.4BSD.
Packit Service 1d0348
The two differ primarily in their handling of filenames
Packit Service 1d0348
longer than 15 characters:
Packit Service 1d0348
the GNU/SVR4 variant writes a filename table at the beginning of the archive;
Packit Service 1d0348
the BSD format stores each long filename in an extension
Packit Service 1d0348
area adjacent to the entry.
Packit Service 1d0348
Libarchive can read both extensions,
Packit Service 1d0348
including archives that may include both types of long filenames.
Packit Service 1d0348
Programs using libarchive can write GNU/SVR4 format
Packit Service 1d0348
if they provide an entry called
Packit Service 1d0348
\fI//\fP
Packit Service 1d0348
containing a filename table to be written into the archive
Packit Service 1d0348
before any of the entries.
Packit Service 1d0348
Any entries whose names are not in the filename table
Packit Service 1d0348
will be written using BSD-style long filenames.
Packit Service 1d0348
This can cause problems for programs such as
Packit Service 1d0348
GNU ld that do not support the BSD-style long filenames.
Packit Service 1d0348
.SS mtree
Packit Service 1d0348
Libarchive can read and write files in
Packit Service 1d0348
\fBmtree\fP(5)
Packit Service 1d0348
format.
Packit Service 1d0348
This format is not a true archive format, but rather a textual description
Packit Service 1d0348
of a file hierarchy in which each line specifies the name of a file and
Packit Service 1d0348
provides specific metadata about that file.
Packit Service 1d0348
Libarchive can read all of the keywords supported by both
Packit Service 1d0348
the NetBSD and FreeBSD versions of
Packit Service 1d0348
\fBmtree\fP(8),
Packit Service 1d0348
although many of the keywords cannot currently be stored in an
Packit Service 1d0348
Tn archive_entry
Packit Service 1d0348
object.
Packit Service 1d0348
When writing, libarchive supports use of the
Packit Service 1d0348
\fBarchive_write_set_options\fP(3)
Packit Service 1d0348
interface to specify which keywords should be included in the
Packit Service 1d0348
output.
Packit Service 1d0348
If libarchive was compiled with access to suitable
Packit Service 1d0348
cryptographic libraries (such as the OpenSSL libraries),
Packit Service 1d0348
it can compute hash entries such as
Packit Service 1d0348
\fBsha512\fP
Packit Service 1d0348
or
Packit Service 1d0348
\fBmd5\fP
Packit Service 1d0348
from file data being written to the mtree writer.
Packit Service 1d0348
.PP
Packit Service 1d0348
When reading an mtree file, libarchive will locate the corresponding
Packit Service 1d0348
files on disk using the
Packit Service 1d0348
\fBcontents\fP
Packit Service 1d0348
keyword if present or the regular filename.
Packit Service 1d0348
If it can locate and open the file on disk, it will use that
Packit Service 1d0348
to fill in any metadata that is missing from the mtree file
Packit Service 1d0348
and will read the file contents and return those to the program
Packit Service 1d0348
using libarchive.
Packit Service 1d0348
If it cannot locate and open the file on disk, libarchive
Packit Service 1d0348
will return an error for any attempt to read the entry
Packit Service 1d0348
body.
Packit Service 1d0348
.SS 7-Zip
Packit Service 1d0348
Libarchive can read and write 7-Zip format archives.
Packit Service 1d0348
TODO: Need more information
Packit Service 1d0348
.SS CAB
Packit Service 1d0348
Libarchive can read Microsoft Cabinet (
Packit Service 1d0348
``CAB )''
Packit Service 1d0348
format archives.
Packit Service 1d0348
TODO: Need more information.
Packit Service 1d0348
.SS LHA
Packit Service 1d0348
TODO: Information about libarchive's LHA support
Packit Service 1d0348
.SS RAR
Packit Service 1d0348
Libarchive has limited support for reading RAR format archives.
Packit Service 1d0348
Currently, libarchive can read RARv3 format archives
Packit Service 1d0348
which have been either created uncompressed, or compressed using
Packit Service 1d0348
any of the compression methods supported by the RARv3 format.
Packit Service 1d0348
Libarchive can also read self-extracting RAR archives.
Packit Service 1d0348
.SS Warc
Packit Service 1d0348
Libarchive can read and write
Packit Service 1d0348
``web archives''.
Packit Service 1d0348
TODO: Need more information
Packit Service 1d0348
.SS XAR
Packit Service 1d0348
Libarchive can read and write the XAR format used by many Apple tools.
Packit Service 1d0348
TODO: Need more information
Packit Service 1d0348
.SH SEE ALSO
Packit Service 1d0348
.ad l
Packit Service 1d0348
\fBar\fP(1),
Packit Service 1d0348
\fBcpio\fP(1),
Packit Service 1d0348
\fBmkisofs\fP(1),
Packit Service 1d0348
\fBshar\fP(1),
Packit Service 1d0348
\fBtar\fP(1),
Packit Service 1d0348
\fBzip\fP(1),
Packit Service 1d0348
\fBzlib\fP(3),
Packit Service 1d0348
\fBcpio\fP(5),
Packit Service 1d0348
\fBmtree\fP(5),
Packit Service 1d0348
\fBtar\fP(5)