* EFI disk IO
@ 2011-01-06 16:11 Phillip Susi
2011-01-06 16:51 ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-01-06 16:51 ` Colin Watson
0 siblings, 2 replies; 3+ messages in thread
From: Phillip Susi @ 2011-01-06 16:11 UTC (permalink / raw)
To: The development of GNU GRUB
IIRC, EFI provides filesystem IO support, 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?
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: EFI disk IO
2011-01-06 16:11 EFI disk IO Phillip Susi
@ 2011-01-06 16:51 ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-01-06 16:51 ` Colin Watson
1 sibling, 0 replies; 3+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2011-01-06 16:51 UTC (permalink / raw)
To: grub-devel
[-- Attachment #1: Type: text/plain, Size: 858 bytes --]
On 01/06/2011 05:11 PM, Phillip Susi wrote:
> IIRC, EFI provides filesystem IO support, 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 own drivers.
> 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's not a goal of GRUB to extend a firmware. It's here to abstract from
it and load the kernels. It's especially true for such poor-design
firmwares as EFI
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
>
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: EFI disk IO
2011-01-06 16:11 EFI disk IO Phillip Susi
2011-01-06 16:51 ` Vladimir 'φ-coder/phcoder' Serbinenko
@ 2011-01-06 16:51 ` Colin Watson
1 sibling, 0 replies; 3+ messages in thread
From: Colin Watson @ 2011-01-06 16:51 UTC (permalink / raw)
To: The development of GNU GRUB
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]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-01-06 16:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-06 16:11 EFI disk IO Phillip Susi
2011-01-06 16:51 ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-01-06 16:51 ` Colin Watson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).