From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1ZvJt6-00070B-Jy for mharc-grub-devel@gnu.org; Sun, 08 Nov 2015 01:55:40 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45047) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZvJt3-0006zx-Is for grub-devel@gnu.org; Sun, 08 Nov 2015 01:55:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZvJsy-0004MC-IP for grub-devel@gnu.org; Sun, 08 Nov 2015 01:55:37 -0500 Received: from mail-lf0-x232.google.com ([2a00:1450:4010:c07::232]:32962) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZvJsy-0004M8-92 for grub-devel@gnu.org; Sun, 08 Nov 2015 01:55:32 -0500 Received: by lffz63 with SMTP id z63so19538106lff.0 for ; Sat, 07 Nov 2015 22:55:31 -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=5klqo+7z+JTy5PkuQT2JZsrktrh54ZT+GaqEXeyZITI=; b=GU5yRaZJvIwxVxH4tjv0bYvxwPHtmPoXBrKFEW6DsLSOegn5DgBYz2zcU+PM+V7Eq4 uuDLTmgRcQmqUEuXf37+xC50KuffgI1HtaUAaKAlb+wSVApym5eVwecF9ud1Jb1sjQEp f5LVxkyJ7W8JKMQ8oaaH+4nZLED2yDR9LPOZu+5XBjn4CaOzPNSJQsohjzHedrGOHDx/ bLRhh/5zafx0Vdi9wB67KAzdH+y5jv35teqG5DqFwXKNJNNfM+Lfcgmbac+OvSY+8Qgx oWfeth73Vqf8r9EMHbmCik8yfCkorVhteHzJ6tzhu6TI8/TEsIdqUFeV5aWeLRBBsfuw rGWQ== X-Received: by 10.25.160.213 with SMTP id j204mr584156lfe.85.1446965731295; Sat, 07 Nov 2015 22:55:31 -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 bn6sm1358667lbc.10.2015.11.07.22.55.30 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 07 Nov 2015 22:55:30 -0800 (PST) Subject: Re: [PATCH] doc: document config_directory and config_file variables To: grub-devel@gnu.org References: <1446891714-10249-1-git-send-email-arvidjaar@gmail.com> <563E564F.6000207@gmx.fr> <563E5A64.80601@gmail.com> <563E822F.3040503@gmx.fr> From: Andrei Borzenkov Message-ID: <563EF1E1.3070706@gmail.com> Date: Sun, 8 Nov 2015 09:55:29 +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: <563E822F.3040503@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::232 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: Sun, 08 Nov 2015 06:55:38 -0000 08.11.2015 01:58, Arbiel (gmx) пишет: > >>> >>> 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 ? They are intended to optimize search at boot time. They contain guessed firmware device names. If this name was guessed correctly, it avoids searching across all devices at boot time. In practice for Linux on i386-pc it does not really work because to reliably guess BIOS HDD number you need EDD and with 32 bit Linux boot protocol EDD information must be provided by bootloader. This is again something that users should not be normally concerned with - these hints are added automatically by probing code. We could add "see development manual for additional options" if we had development manual ... but yes, description of grub-mkconfig framework and which high-level functions are provided is missing.