Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Jan 2005 11:21:48 -0800
From:      Tim Kientzle <kientzle@freebsd.org>
To:        Robert Watson <rwatson@freebsd.org>
Cc:        cvs-all@freebsd.org
Subject:   Re: cvs commit: src/lib/libarchive Makefile archive.h.in         archive_read_support_format_iso9660.c
Message-ID:  <41D849CC.5080802@freebsd.org>
In-Reply-To: <Pine.NEB.3.96L.1050102121314.18844A-100000@fledge.watson.org>
References:  <Pine.NEB.3.96L.1050102121314.18844A-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41D849CC.5080802>