grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Improve ext2 driver to allow embedding of the boot loader co


From: Andrey Borzenkov
Subject: Re: [PATCH] Improve ext2 driver to allow embedding of the boot loader code.
Date: Tue, 21 Jan 2014 12:28:04 +0400

On Tue, Jan 21, 2014 at 12:14 PM, Vladimir 'φ-coder/phcoder'
Serbinenko <address@hidden> 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 under
> impression that it will change on every grub-setup invocation as file
> gets recreated.
>

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]