diff options
author | kientzle <kientzle@FreeBSD.org> | 2006-01-17 03:40:42 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2006-01-17 03:40:42 +0000 |
commit | 2b45598dea8a40a88892f8e349d778469cf34ab2 (patch) | |
tree | 1b150f6f4a287e4a1542c115e5ce00549972cb76 /lib/libarchive/archive.h.in | |
parent | e042fa9ba27e0ade0e877579668d9ff0dca323af (diff) | |
download | FreeBSD-src-2b45598dea8a40a88892f8e349d778469cf34ab2.zip FreeBSD-src-2b45598dea8a40a88892f8e349d778469cf34ab2.tar.gz |
Add support for "tp" format. tp was the standard system
archiver for Fourth Edition through Sixth Edition Unix; it was
replaced by tar in Seventh Edition. (First Edition through
Third Edition used "tap.")
Unfortunately, tp was not so very standard; there were a
few different variants. The code here attempts to support
what I believe were the most common variants.
tp support is not yet enabled by archive_read_support_format_all(),
as I'm not yet entirely comfortable with the detection
heuristics. People interested in experimenting can
add archive_read_support_format_tp() just after any calls
to archive_read_support_format_all() in bsdtar to see how
well this works.
TODO: tp format is roughly similar in structure to dump/restore
archive formats used by many systems. It should be possible
to generalize this code to handle many dump/restore variants.
Format detection heuristics are going to be rough, though.
Thanks to: Warren Toomey, whose very basic tp extraction programs
and documentation made this possible.
Diffstat (limited to 'lib/libarchive/archive.h.in')
-rw-r--r-- | lib/libarchive/archive.h.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libarchive/archive.h.in b/lib/libarchive/archive.h.in index 666917c..a7427b2 100644 --- a/lib/libarchive/archive.h.in +++ b/lib/libarchive/archive.h.in @@ -180,6 +180,7 @@ int archive_read_support_format_cpio(struct archive *); int archive_read_support_format_gnutar(struct archive *); int archive_read_support_format_iso9660(struct archive *); int archive_read_support_format_tar(struct archive *); +int archive_read_support_format_tp(struct archive *); int archive_read_support_format_zip(struct archive *); |