Re: [PATCH] add pkzip support for gzio

From:

Bean

Subject:

Re: [PATCH] add pkzip support for gzio

Date:

Tue, 12 Aug 2008 10:45:50 +0800

On Tue, Aug 12, 2008 at 10:02 AM, y.volta <address@hidden> wrote:
> i just conveniently make this kind of archive be supported in grub2 - since
> there is no other addtional work required.
>
> this is a little patch, so if there are mutli-files in this archive, we will
> failed to decompress it.
>
> As I know, there are many GUI tools(e.g. 7-Zip/Winrar/Winzip) can make the
> deflated zip file, so, this patch should be useful for those GUI users.
Hi,
As zip support multiple files, it's better to use zipfs, just like cpio/tar.
Also, it's better not to call gzio. I'm thinking about seperating the
deflate decompression routine and create a zlib like library, so that
the decoder can be used in both gzio, png and zipfs.
--
Bean