On Sun, Jun 15, 2008 at 03:03:43AM +0800, Bean wrote:
>
> Hi,
>
> Yes, this is a standalone command, it's used to support persistent
> variable. For example, we can archive the result of savedefault using
> the following command:
>
> load_env
>
> menuentry aa {
> save_env default
> }
>
> load_env loads the environment variable from $prefix/grubenv, and
> save_env save selected variable to it. grubenv contain a environment
> block, so that we can manage it using grub-editenv, just like the
> environment block in the kernel.
Sounds interesting.. does the 8 kiB size assure us that we won't have any
trouble with filesystems when writing to it?
Also, which parts of this would be reused by findroot?
--
Robert Millan
<GPLv2> I know my rights; I want my phone call!
<DRM> What good is a phone call… if you are unable to speak?
(as seen on /.)
_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel