From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Zv9na-0005b7-BZ for mharc-grub-devel@gnu.org; Sat, 07 Nov 2015 15:09:18 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34623) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zv9nY-0005ar-6T for grub-devel@gnu.org; Sat, 07 Nov 2015 15:09:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zv9nT-0000eG-60 for grub-devel@gnu.org; Sat, 07 Nov 2015 15:09:16 -0500 Received: from mail-lf0-x22f.google.com ([2a00:1450:4010:c07::22f]:34083) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zv9nS-0000eC-Uy for grub-devel@gnu.org; Sat, 07 Nov 2015 15:09:11 -0500 Received: by lfgh9 with SMTP id h9so84592981lfg.1 for ; Sat, 07 Nov 2015 12:09:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=bysQM64zFsmS0I1DUKUXl4E62ujll/IcLqaFNXNRq8w=; b=Wrc1Imzlbv9/oVKh8ChG8AoGNlOGtFVi1EKZGbmHA8JPWPUGlyEX0Rxz6e3ZfveXRj xOZCZ7VkcvKcngaG4GLlKQMAH6oklR4NK7UPkXYynbomEApAP1usToJcUs3LtBihaGh+ mzxx4KxqYGvXz+jBWPayqNIsTVn2uCNJ8rNaYwUXuq3ePeYj/Hxklib2257iC8CPnowj xRIzkuDVYg/0CyopZPFnLItxoG0G+6ttNL/ebVUrBCn9ndQ/T6zPgyFq840MXTF/MnKk EWxYJXF2oShHF0I5Y1lJ+m3C8jpicOG7tFFO6fT91n+vE+ueIskkRvObXe5VaHeicKTS oQVw== X-Received: by 10.25.32.140 with SMTP id g134mr6160962lfg.26.1446926949951; Sat, 07 Nov 2015 12:09:09 -0800 (PST) Received: from [192.168.1.41] (ppp91-76-25-247.pppoe.mtu-net.ru. [91.76.25.247]) by smtp.gmail.com with ESMTPSA id l67sm1060276lfd.43.2015.11.07.12.09.08 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 07 Nov 2015 12:09:09 -0800 (PST) Subject: Re: [PATCH] doc: document config_directory and config_file variables To: The development of GNU GRUB References: <1446891714-10249-1-git-send-email-arvidjaar@gmail.com> <563E564F.6000207@gmx.fr> From: Andrei Borzenkov Message-ID: <563E5A64.80601@gmail.com> 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 MIME-Version: 1.0 In-Reply-To: <563E564F.6000207@gmx.fr> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c07::22f X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Nov 2015 20:09:17 -0000 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.