From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KSjtW-0006ok-AU for mharc-grub-devel@gnu.org; Mon, 11 Aug 2008 22:45:58 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSjtT-0006mM-IQ for grub-devel@gnu.org; Mon, 11 Aug 2008 22:45:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSjtR-0006kG-JW for grub-devel@gnu.org; Mon, 11 Aug 2008 22:45:54 -0400 Received: from [199.232.76.173] (port=46255 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSjtR-0006jw-7U for grub-devel@gnu.org; Mon, 11 Aug 2008 22:45:53 -0400 Received: from ti-out-0910.google.com ([209.85.142.187]:5006) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KSjtQ-0000IR-Vl for grub-devel@gnu.org; Mon, 11 Aug 2008 22:45:53 -0400 Received: by ti-out-0910.google.com with SMTP id u5so1097953tia.10 for ; Mon, 11 Aug 2008 19:45:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=jpSzw0hpYPqAAGiUMMC2kPJWuYW4Czya7UVhXVKv7Bc=; b=JFLYO+McsQbT6BidBrQizbsFBWDhcPv/Y8l9nF/jG6dM98jfoBtMMl0oYBnUsV8ObB XCgMTW7i+ouHg8LFRTD83lPkn9BWWdFKCE5KLu2rZAmP+M17w+6cgrtrxr8qarfySnLN JATZOPwckA4ANzKKcRR9NvEUn/iwzE/GDesAw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=hTT6+opYS1gDsZnYWb+i/WfHhWnC/ILWmg0J8L5O7RjeLspKmRJExgjKNRyfdiEBu+ jeyQpfJ9sHgMrPBeFWAnQsm13BPZrrM5OKV2fKML2TXN4PzwpWG6REsykEXpFDgsgH3/ OBIX1v7UYbXDOhu75uydfDlhEyw7AUyc8rrQI= Received: by 10.110.63.6 with SMTP id l6mr10413437tia.4.1218509150442; Mon, 11 Aug 2008 19:45:50 -0700 (PDT) Received: by 10.110.16.5 with HTTP; Mon, 11 Aug 2008 19:45:50 -0700 (PDT) Message-ID: Date: Tue, 12 Aug 2008 10:45:50 +0800 From: Bean To: "The development of GRUB 2" In-Reply-To: <3AC91C9ADCBE4EBEA1EED0CCFBBA20E1@WINSERVER2008> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48a0e742.34062c0a.1348.ffffe488SMTPIN_ADDED@mx.google.com> <3AC91C9ADCBE4EBEA1EED0CCFBBA20E1@WINSERVER2008> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Re: [PATCH] add pkzip support for gzio X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Aug 2008 02:45:56 -0000 On Tue, Aug 12, 2008 at 10:02 AM, y.volta 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