cvs commit: src/lib/libarchive Makefile archive.h.in
archive_read_support_format_tp.c libarchive-formats.5
Tim Kientzle
kientzle at FreeBSD.org
Mon Jan 16 19:40:45 PST 2006
kientzle 2006-01-17 03:40:42 UTC
FreeBSD src repository
Modified files:
lib/libarchive Makefile archive.h.in
libarchive-formats.5
Added files:
lib/libarchive archive_read_support_format_tp.c
Log:
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.
Revision Changes Path
1.43 +2 -1 src/lib/libarchive/Makefile
1.27 +1 -0 src/lib/libarchive/archive.h.in
1.1 +618 -0 src/lib/libarchive/archive_read_support_format_tp.c (new)
1.10 +10 -0 src/lib/libarchive/libarchive-formats.5
More information about the cvs-src
mailing list