Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IprQN-000290-43 for mharc-grub-devel@gnu.org; Wed, 07 Nov 2007 15:22:55 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IprQL-00028b-Ts for grub-devel@gnu.org; Wed, 07 Nov 2007 15:22:53 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IprQK-00027m-GF for grub-devel@gnu.org; Wed, 07 Nov 2007 15:22:53 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IprQK-00027g-EU for grub-devel@gnu.org; Wed, 07 Nov 2007 15:22:52 -0500 Received: from aybabtu.com ([69.60.117.155]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IprQJ-0002X7-3d for grub-devel@gnu.org; Wed, 07 Nov 2007 15:22:52 -0500 Received: from [192.168.10.6] (helo=thorin) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1IprQH-0006S2-5o for grub-devel@gnu.org; Wed, 07 Nov 2007 21:22:49 +0100 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1IprQ5-0002ny-Ak for grub-devel@gnu.org; Wed, 07 Nov 2007 21:22:37 +0100 Date: Wed, 7 Nov 2007 21:22:37 +0100 From: Robert Millan To: The development of GRUB 2 Message-ID: <20071107202237.GC10337@thorin> References: <816e7d420711061425m51df554fx308c6419f57959f9@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <816e7d420711061425m51df554fx308c6419f57959f9@mail.gmail.com> Organization: free as in freedom X-Message-Flag: Microsoft discourages use of Outlook. X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: GRUB/GRUB2 and gzip 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: Wed, 07 Nov 2007 20:22:54 -0000 On Tue, Nov 06, 2007 at 04:25:06PM -0600, Heath S wrote: > The GRUB legacy manual states: > > Support automatic decompression > > Can decompress files which were compressed by gzip. This function is both > automatic and transparent to the user (i.e. all functions operate upon the > uncompressed contents of the specified files). This greatly reduces a file > size and loading time, a particularly great benefit for floppies. > > It is conceivable that some kernel modules should be loaded in a compressed > state, so a different module-loading command can be specified to avoid > uncompressing the modules. > > I'm sure GRUB2 will support this and I know GRUB legacy does. My question is > what version of gzip is this compatible with? I'm not familiar with all of > the gzip versions and the impact of changes therein but how are these > changes handled by GRUB/GRUB2? Does GRUB/GRUB2 have its own way of > uncompressing the kernel image that is independent of the gzip version? AFAIK there's only one gzip version as such (GNU zip), and there are some clones. I think it's safe to expect that clones are always format-compatible with the original GNU implementation. Btw, GRUB 2 already supports gzip files, see io/gzio.c. -- Robert Millan I know my rights; I want my phone call! What use is a phone call, if you are unable to speak? (as seen on /.)