Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Ho3dn-0000Bx-N5 for mharc-grub-devel@gnu.org; Tue, 15 May 2007 16:29:03 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ho3dl-0000B8-QN for grub-devel@gnu.org; Tue, 15 May 2007 16:29:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ho3dk-0000AI-0K for grub-devel@gnu.org; Tue, 15 May 2007 16:29:01 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ho3dj-0000AE-Qc for grub-devel@gnu.org; Tue, 15 May 2007 16:28:59 -0400 Received: from [212.85.152.101] (helo=kotoba.storever.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ho3Vo-0008Vi-Vx for grub-devel@gnu.org; Tue, 15 May 2007 16:20:49 -0400 Received: from kotoba.oasis.nexedi.com (kotoba.oasis.nexedi.com [212.85.152.101]) by kotoba.storever.com (Postfix) with ESMTP id EC1AE3D19A101 for ; Wed, 16 May 2007 02:24:29 +0200 (CEST) Received: from [??1] (localhost [127.0.0.1]) by kotoba.storever.com (Postfix) with ESMTP id CCEDB3D19A0FF for ; Wed, 16 May 2007 02:24:24 +0200 (CEST) From: "Yoshinori K. Okuji" Organization: enbug.org To: The development of GRUB 2 Date: Tue, 15 May 2007 22:20:41 +0200 User-Agent: KMail/1.9.4 References: <20070511160314.GA30111@aragorn> <20070511161134.GA30158@aragorn> In-Reply-To: <20070511161134.GA30158@aragorn> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705152220.42031.okuji@enbug.org> X-Bogosity: No, tests=bogofilter, spamicity=0.000000, version=0.17.2 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) Subject: Re: [PATCH] grub-install for EFI X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 May 2007 20:29:02 -0000 On Friday 11 May 2007 18:11, Robert Millan wrote: > grub-probe is needed to check partmap (so we don't have to assume gpt). Yes. > grub-mkdevicemap is needed to create device.map, without which grub-probe > won't work. Right. > Note: this grub-install.in is based on the i386/pc version. I tried to > keep changes minimal, so if you diff them it'll produce readable output. > > One thing that I'm not sure about is the CLI inconsistency. Perhaps it > shouldn't take the directory as a standalone parameter, and instead use > --root-directory? Consistency is important, but it is not a must, as long as the user can easily guess the difference. In principle, you should respect consistency, but should not blindly believe in it. So if you think it is reasonable to make difference, you can. Otherwise, don't. > Not really sure about these. Seems ugly, but biosdisk.h has the > grub_util_biosdisk_get_grub_dev definition, which is not really > i386/pc-specific. Also, note that powerpc needs them as well if we > want update-grub to work there (haven't submitted this part, because it > grub-probe on powerpc has other issues that I cannot debug). If it is not specific to i386-pc, it should be moved to somewhere else. Okuji