Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Pat3o-0001QO-Du for mharc-grub-devel@gnu.org; Thu, 06 Jan 2011 11:51:36 -0500 Received: from [140.186.70.92] (port=51643 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pat3l-0001Ol-Hj for grub-devel@gnu.org; Thu, 06 Jan 2011 11:51:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pat3k-0007ED-IT for grub-devel@gnu.org; Thu, 06 Jan 2011 11:51:33 -0500 Received: from smarthost01.mail.zen.net.uk ([212.23.3.140]:55987) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pat3k-0007Dj-Dh for grub-devel@gnu.org; Thu, 06 Jan 2011 11:51:32 -0500 Received: from [82.69.40.219] (helo=riva.pelham.vpn.ucam.org) by smarthost01.mail.zen.net.uk with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1Pat3i-0006oo-JU for grub-devel@gnu.org; Thu, 06 Jan 2011 16:51:30 +0000 Received: from cjwatson by riva.pelham.vpn.ucam.org with local (Exim 4.69) (envelope-from ) id 1Pat3g-00047M-Vq for grub-devel@gnu.org; Thu, 06 Jan 2011 16:51:29 +0000 Date: Thu, 6 Jan 2011 16:51:28 +0000 From: Colin Watson To: The development of GNU GRUB Message-ID: <20110106165128.GQ15515@riva.ucam.org> References: <4D25E9A3.1070902@cfl.rr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D25E9A3.1070902@cfl.rr.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-Smarthost01-IP: [82.69.40.219] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: EFI disk IO X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 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: Thu, 06 Jan 2011 16:51:34 -0000 On Thu, Jan 06, 2011 at 11:11:15AM -0500, Phillip Susi wrote: > IIRC, EFI provides filesystem IO support, Only for filesystems EFI supports, which is typically a much smaller range than GRUB. You're basically only guaranteed to get FAT, and as far as I can tell it's only designed for reading from EFI System Partitions or the equivalent. > so I was wondering: does grub-efi use the EFI file IO calls, or does > it still use its built in partition and fs parsing modules, and only > rely on EFI for the low level disk block IO? GRUB uses its own partition and file handling. > It seems like you would want to build the grub fs modules as EFI drivers > to extent the entire EFI system if needed, and rely on EFI for file IO. It doesn't seem worth it given the extremely limited scope of the EFI File Protocol. It would be substantial work for little benefit, and GRUB's own drivers probably work better for reading from general filesystems anyway. -- Colin Watson [cjwatson@ubuntu.com]