Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JJq1N-0001uR-CS for mharc-grub-devel@gnu.org; Tue, 29 Jan 2008 07:57:01 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JJq1L-0001qb-By for grub-devel@gnu.org; Tue, 29 Jan 2008 07:56:59 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JJq1J-0001pK-Rp for grub-devel@gnu.org; Tue, 29 Jan 2008 07:56:59 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JJq1J-0001p1-Kj for grub-devel@gnu.org; Tue, 29 Jan 2008 07:56:57 -0500 Received: from smtp8-g19.free.fr ([212.27.42.65]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JJq1J-0002xP-DU for grub-devel@gnu.org; Tue, 29 Jan 2008 07:56:57 -0500 Received: from smtp8-g19.free.fr (localhost [127.0.0.1]) by smtp8-g19.free.fr (Postfix) with ESMTP id 8D3F917F53E; Tue, 29 Jan 2008 13:56:53 +0100 (CET) Received: from imp6-g19.free.fr (imp6-g19.free.fr [212.27.42.6]) by smtp8-g19.free.fr (Postfix) with ESMTP id 77E5717F596; Tue, 29 Jan 2008 13:56:53 +0100 (CET) Received: by imp6-g19.free.fr (Postfix, from userid 33) id E1331435D; Tue, 29 Jan 2008 13:56:49 +0100 (CET) Received: from dhcp-guest.act-europe.fr (dhcp-guest.act-europe.fr [212.99.106.127]) by imp.free.fr (IMP) with HTTP for ; Tue, 29 Jan 2008 13:56:49 +0100 Message-ID: <1201611409.479f22918bed6@imp.free.fr> Date: Tue, 29 Jan 2008 13:56:49 +0100 From: tgingold@free.fr To: Robert Millan References: <20080128160905.GA2739@saphi> <20080128165504.GB9715@thorin> <20080129051252.GA2504@saphi> <20080129095922.GA31756@thorin> <1201602926.479f016e27f08@imp.free.fr> <20080129113219.GA22894@thorin> In-Reply-To: <20080129113219.GA22894@thorin> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 User-Agent: Internet Messaging Program (IMP) 3.2.8 X-Originating-IP: 212.99.106.127 Content-Transfer-Encoding: quoted-printable X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Cc: tgingold@free.fr, The development of GRUB 2 Subject: Re: IA64 port 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, 29 Jan 2008 12:56:59 -0000 Quoting Robert Millan : > On Tue, Jan 29, 2008 at 11:35:26AM +0100, tgingold@free.fr wrote: > > Quoting Robert Millan : > > > > > Why is this needed? I'm not sure if it's good to exploit this > > > "unreliability" > > > > > feature that fat provides us ;-) > > > > > > > > On EFI, the prefix is extracted from an EFI path, whose case may = not > match > > > > the FAT entries. > > > > > > Can you be more specific about this? What do the specs say? We wr= ote > > > /boot/grub ourselves via grub-install; is an EFI-compliant firmwar= e > > > allowed to actively mess up case in paths we provided? > > > > On EFI, we don't really know where grub is stored. There is a filesy= stem > > layout convention we'd better to follow. As a consequence, we extrac= t the > > path from an EFI structure (I didn't write this code - it's in the EF= I > common > > code). > > What would you think of case-insensitive search in grub_efi_set_prefix(= ) ? You mean walking the filesystem in grub_efi_set_prefix ? Humm, this look= s like a hack. The filesystem may not be FAT and there may be no way to re= ad directory entries (eg tftp - even if not yet supported). If you really don't like it I can put it away for now. Grub should work without this patch in most cases. Tristan.