From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1YmrOl-0002KP-Gh for mharc-grub-devel@gnu.org; Mon, 27 Apr 2015 18:21:07 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36024) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmrOj-0002K1-J6 for grub-devel@gnu.org; Mon, 27 Apr 2015 18:21:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YmrOe-0003Tw-Ud for grub-devel@gnu.org; Mon, 27 Apr 2015 18:21:05 -0400 Received: from terminus.zytor.com ([2001:1868:205::10]:52583 helo=mail.zytor.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmrOe-0003Rk-Ie for grub-devel@gnu.org; Mon, 27 Apr 2015 18:21:00 -0400 Received: from anacreon.sc.intel.com ([192.55.55.41]) (authenticated bits=0) by mail.zytor.com (8.14.8/8.14.5) with ESMTP id t3RMKj4o004567 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 27 Apr 2015 15:20:46 -0700 Message-ID: <553EB638.4060704@zytor.com> Date: Mon, 27 Apr 2015 15:20:40 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Andrei Borzenkov Subject: Re: [syslinux] Using memdisk with grub2 and a gzip-compressed ISO References: <55396F5E.7090303@zytor.com> <20150424061443.3d80329c@opensuse.site> <5539B8C1.4030401@zytor.com> <20150424064128.71489695@opensuse.site> <5539C90A.9000608@zytor.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:1868:205::10 Cc: The development of GNU GRUB , syslinux@zytor.com X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Apr 2015 22:21:06 -0000 On 04/23/2015 11:25 PM, Andrei Borzenkov via Syslinux wrote: > On Fri, Apr 24, 2015 at 7:39 AM, H. Peter Anvin wrote: >> On 04/23/2015 08:41 PM, Andrei Borzenkov wrote: >>> >>> CRC+length (in case of gzip) are located immediately after compressed >>> stream. After stream is decompressed you get location where it ends and >>> automatically where length is located. >>> >> >> I know. One could decompress it twice, > > Cannot you incrementally reallocate uncompressed buffer? > That is very hard because of how memory is managed in MEMDISK. -hpa