On Sun, Jan 24, 2010 at 10:20:49PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > > With this approach, the burden is no longer in GRUB. Then I don't care > > how weird disk layouts can become, because GRUB doesn't have to probe > > them. > We still have to for partition_iterate.
partition_iterate itself is no problem. I mean, even probing itself isn't, as long as we don't promise that any of it actually works. Accessing unknown partition label as "hd0,1" implies we know the label type via probing; other facilities that use probing don't necessarily imply that. For example, GRUB could do: grub> ls (hd0) Possible msdos label: 1 2 3 Possible gpt label: 1 2 etc. -- Robert Millan "Be the change you want to see in the world" -- Gandhi _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel