Le 07/11/2015 21:09, Andrei Borzenkov a écrit :
> 07.11.2015 22:51, Arbiel (gmx) пишет:
>> Hi
>>
>> There seems to be other variables and command parameters which lack
>> documentation.
>>
>> Here is a list of such variables found in my grub.cfg files (I have
>> discarded "save_env"ed variables, obviously environment variables) and
>> which are not set in the environment block
>>
>> ${feature_menuentry_id}
>> ${boot_once}
>> $feature_all_video_module
>> $feature_default_font_path
>> $feature_platform_search_hint
>> $feature_timeout_style
>
> I do not not think any of them need to be documented in user manual.
> Features are of interest to developers to ensure backward
> compatibility; users start off with a given version and need not
> usually care if it works in earlier ones. $boot_once is internal
> implementation variable that is of no interest to anyone and its
> purpose is obvious by reading script.
>
> It's fine to describe them in developers documentation of course, but
> so far nobody volunteered to maintain it.
>
>> $match
>>
>> As the names suggest, these variables could be distribution specific
>> (Ubuntu). What do you think ?
>>
>> undocumented command parameter : --hint (command search), and some other
>> --hint.something which I haven't been able to localise just now.
>>
>
> Which command?
search.
And I just read in a grub.cfg file, not one of mine the line

search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 
--hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  
427b86fb-cc66-46be-ad68-ade86794af55

which shows some "--hint" parameters. What do they all mean ?
>
>> I found in my grub.cfg file a "hwmatch" command which is not defifed as
>> a function. Is this a undocumented grub command ? Its result may well
>> the  $match variable.
>>
>
> Both are Ubuntu (or may be Debian) specific.
>
>
> _______________________________________________
> 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