Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NhScJ-0005I3-Fd for mharc-grub-devel@gnu.org; Tue, 16 Feb 2010 13:57:51 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NhScH-0005Gy-Ra for grub-devel@gnu.org; Tue, 16 Feb 2010 13:57:49 -0500 Received: from [140.186.70.92] (port=50676 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NhScH-0005GX-3W for grub-devel@gnu.org; Tue, 16 Feb 2010 13:57:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NhScG-0004Ps-Ay for grub-devel@gnu.org; Tue, 16 Feb 2010 13:57:49 -0500 Received: from stallman.rootnode.net ([89.248.165.10]:55924) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NhScG-0004Pm-1C for grub-devel@gnu.org; Tue, 16 Feb 2010 13:57:48 -0500 Received: from athlon.localnet (chello087207210055.chello.pl [87.207.210.55]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by stallman.rootnode.net (Exchange) with ESMTP id 6E8FF5D10A for ; Tue, 16 Feb 2010 19:57:46 +0100 (CET) From: Szymon Janc To: grub-devel@gnu.org Date: Tue, 16 Feb 2010 19:58:09 +0100 User-Agent: KMail/1.12.4 (Linux/2.6.32-trunk-686; KDE/4.3.4; i686; ; ) References: <201002042201.17127.szymon@janc.net.pl> <835ef9791a743a0bc02df541c23d7ae6@webmail.rootnode.net> <4B7AA14D.507@gmail.com> In-Reply-To: <4B7AA14D.507@gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Message-Id: <201002161958.09505.szymon@janc.net.pl> Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: [PATCH][UPDATED] support for xz compression format X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 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: Tue, 16 Feb 2010 18:57:50 -0000 Dnia wtorek 16 luty 2010 o 14:44:45 Vladimir '=CF=86-coder/phcoder' Serbi= nenko=20 napisa=C5=82(a): > + #define VLI_MAX_DIGITS 9 > Are you sure it's 9? It gives only 63 and not 64 bits It is a limitation of xz format. > + if (! test_header(file) || ! test_footer(file)) > + { > Seeking to the end of file is very expensive on pxe. Can it be skipped? xz stores uncompressed data size at the end of file, without it file size= can't=20 be set. gzio has same issue, it reads last 4 bytes of file to determine uncompres= sed=20 data size. > grub_xzio_read seems to ignore file->offset. Have you tested seeking? Yes, seeking is not implemented yet. It's on my TODO list. --=20 Szymon K. Janc szymon@janc.net.pl // GG: 1383435