From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1W5Wlf-0007bp-SU for mharc-grub-devel@gnu.org; Tue, 21 Jan 2014 03:33:07 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38668) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5WlZ-0007Uw-63 for grub-devel@gnu.org; Tue, 21 Jan 2014 03:33:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W5WlS-0003W7-S0 for grub-devel@gnu.org; Tue, 21 Jan 2014 03:33:01 -0500 Received: from mail-ee0-x22d.google.com ([2a00:1450:4013:c00::22d]:47115) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5WlS-0003Vx-LC for grub-devel@gnu.org; Tue, 21 Jan 2014 03:32:54 -0500 Received: by mail-ee0-f45.google.com with SMTP id b15so3828522eek.4 for ; Tue, 21 Jan 2014 00:32:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=J5mCyWxZd5Qd5qnF8Zsy0UE75CEIVM6xxiHF89X7IOA=; b=0ISdxztrG9Uk9TpNFr8hk5boqEuKr4Tw/bcCMdODn+UtmSNrKgy/wfNbHa/iGsUoqE wkSffuLJEr9MIXspZp0JztN3af0yeGpqZg71NTSntK/rqCAUGnVMMkAjAOET1lG8u/yu TMPpAfXi/TVA0j0T6zO7vD0nidkXR2XX6wSyiibNeU8O4E3iB8YQuktb5J61XM/XmR3m Z1FnOMO5niKXHP0g4Y6v+v5UpfL+3UqfenBMeo53SoxcmvGMOKsnVvIe+ey2aoTh9Wbh OZ//TDCswfpBkTT5nLapK9yxQKLxImeLCDihM32+Wjs6HhRLKyxhrxXq3RWae+Ulyv9z gDbg== X-Received: by 10.14.148.138 with SMTP id v10mr22474527eej.37.1390293173707; Tue, 21 Jan 2014 00:32:53 -0800 (PST) Received: from [192.168.42.236] (83-224.197-178.cust.bluewin.ch. [178.197.224.83]) by mx.google.com with ESMTPSA id b41sm12109697eef.16.2014.01.21.00.32.50 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 Jan 2014 00:32:52 -0800 (PST) Message-ID: <52DE30AD.9030301@gmail.com> Date: Tue, 21 Jan 2014 09:32:45 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.2.0 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: [PATCH] Improve ext2 driver to allow embedding of the boot loader code. References: <1389301657-8236-1-git-send-email-tilmann@bubecks.de> <52CF282C.4070408@gmail.com> <52CFA5FF.7070200@bubecks.de> <52DE2C79.2000507@gmail.com> In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="rGs2i9W6BFrfFNbeuNwbGtRqiGF1nBp6h" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c00::22d 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: Tue, 21 Jan 2014 08:33:06 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --rGs2i9W6BFrfFNbeuNwbGtRqiGF1nBp6h Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 21.01.2014 09:28, Andrey Borzenkov wrote: > On Tue, Jan 21, 2014 at 12:14 PM, Vladimir '=CF=86-coder/phcoder' > Serbinenko wrote: >> On 10.01.2014 08:49, Dr. Tilmann Bubeck wrote: >>> >>> The blocklist is fixed and stable and will never change. >> What guarantees that it won't change on grub-setup invocation? I'm und= er >> impression that it will change on every grub-setup invocation as file >> gets recreated. >> >=20 > If I read code correctly, it checks current size and if new core.img > fits, space is reused. So we could effectively make it preallocate > reasonable size (or even unreasonable - I guess 10MB will be enough > for foreseeable future) the very first time it is done. >=20 It still doesn't solve the problem that during operations file becomes a normal file and OS is allowed to rearrange the blocks as it sees fit. > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel >=20 --rGs2i9W6BFrfFNbeuNwbGtRqiGF1nBp6h Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iF4EAREKAAYFAlLeMK0ACgkQmBXlbbo5nOtRTQEAjd+3CUnMaIH0wBPfoxIEE6eL hnaKsNV/Gg0roqVV13EA/2qx72iNT4xH9C0Q2jHlTvLULLApPlNVp9UMvNSxxuBa =hsVU -----END PGP SIGNATURE----- --rGs2i9W6BFrfFNbeuNwbGtRqiGF1nBp6h--