summaryrefslogtreecommitdiffstats
path: root/lib/libarchive/libarchive-formats.5
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2007-04-03 05:34:36 +0000
committerkientzle <kientzle@FreeBSD.org>2007-04-03 05:34:36 +0000
commitb356476feba52a0a45c8e89ebac5d6724a4e6d78 (patch)
treeee7ab4b960264dddb2ad2c445c0e861e145e0ca2 /lib/libarchive/libarchive-formats.5
parentba7e53058343ca70fa1013a3af10139eac74e8c4 (diff)
downloadFreeBSD-src-b356476feba52a0a45c8e89ebac5d6724a4e6d78.zip
FreeBSD-src-b356476feba52a0a45c8e89ebac5d6724a4e6d78.tar.gz
'ar' format support for libarchive, contributed by Kai Wang.
Diffstat (limited to 'lib/libarchive/libarchive-formats.5')
-rw-r--r--lib/libarchive/libarchive-formats.516
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/libarchive/libarchive-formats.5 b/lib/libarchive/libarchive-formats.5
index dbd9469..dcd45e8 100644
--- a/lib/libarchive/libarchive-formats.5
+++ b/lib/libarchive/libarchive-formats.5
@@ -235,7 +235,23 @@ compressed with the
.Dq deflate
algorithm.
Older zip compression algorithms are not supported.
+.Ss Archive (library) file format
+The Unix archives (commonly created by the
+.Xr ar 1
+archiver) are mainly used as libraries of object files intended to
+be loaded using the link-editor
+.Xr ld 1 .
+Altough it is capable of creating archives for any purpose,
+nowadays it is used only to create static libraries and
+for other purpose,
+.Xr tar 1
+is the prefered way. The ar format has never been standardised,
+currently there exist two commonly used format, one is
+the GNU variant derived from SVR4, the other is the
+BSD format first appeared in 4.4BSD.
+Libarchive provides read and write support for both two variants.
.Sh SEE ALSO
+.Xr ar 1 ,
.Xr cpio 1 ,
.Xr mkisofs 1 ,
.Xr shar 1 ,
OpenPOWER on IntegriCloud