On 21.01.2014 09:28, Andrey Borzenkov wrote:
> On Tue, Jan 21, 2014 at 12:14 PM, Vladimir 'φ-coder/phcoder'
> Serbinenko <phco...@gmail.com> 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.
> 
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
> 


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to