cvs commit: src/lib/libarchive Makefile archive.h.in archive_read_support_format_iso9660.c

Tim Kientzle kientzle at freebsd.org
Sun Jan 2 11:21:54 PST 2005


Robert Watson wrote:
> On Sun, 2 Jan 2005, Tim Kientzle wrote:
> 
>>  First cut support for extracting from ISO9660 disk images.
>>  This seems to be able to extract a TOC and extract files from
>>  the couple of ISO images I've tested it with.
> 
> Very cool -- finally we can extract files from install CD's without root
> privilege :-).  This will be very useful.

Thanks for the suggestion.  The code here is
still fairly naive; I hope to clean it up and
improve it over the next couple of months.

I have already found some CDs with files
that cannot be extracted this way.  In a nutshell,
libarchive is a streaming framework that *must*
see the metadata before the file contents.
ISO 9660 appears to allow a file contents
to appear on the disk prior to the directory
containing that file (and the associated metadata).
Right now, this results in "out-of-order" warnings
to stderr; I'll improve the warnings, but the
underlying restriction will remain.

This appears to be unusual, though, so I expect
this code to be quite useful, even though there
will be cases where it cannot reach a particular
file.

Tim



More information about the cvs-all mailing list