grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] doc: document config_directory and config_file variables


From: Andrei Borzenkov
Subject: Re: [PATCH] doc: document config_directory and config_file variables
Date: Sat, 7 Nov 2015 23:09:08 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

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?

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.




reply via email to

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