grub-devel
[Top][All Lists]
Advanced

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

Re: Migrating to GRUB 2 in Debian (Re: Interesting GSoC project ideas fo


From: Bean
Subject: Re: Migrating to GRUB 2 in Debian (Re: Interesting GSoC project ideas for 09)
Date: Sun, 15 Mar 2009 13:52:05 +0800

On Sun, Mar 15, 2009 at 5:10 AM, Yoshinori K. Okuji <address@hidden> wrote:
> On Friday 13 March 2009 21:23:19 phcoder wrote:
>> Look at load_env/save_env commands and grub-editenv util
>
> Thanks. Now I really regret that I didn't find those additions earlier.
>
> I do not like this implementation for the following reasons:
>
> - The saved file is not plain text, unlike GRUB Legacy. This is a bad choice.
> Please let me know the reason why it must be binary, if any.

Hi,

As the command need to write to disk using blocklist information,
which is not always correct (such as tail packing, sparse block), I
use a magic header for verification. The length field is used to
indicate the length of the block. because the command can't expand
file, otherwise it would need to update fs information, which is too
much for grub.

> - The command names are ugly. Why didn't anybody follow Pavel's advise
> using "env"?
>
> - The utility name is also ugly. I like Pavel's suggestion "grub-env".
>
> If nobody stops me, I will rewrite it in one week, without caring about
> backward compatibility.

I have no objection for the rename, although there should be two env
commands, one to load and one to save.

-- 
Bean




reply via email to

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