Hi, On Wed, Jul 28, 2010 at 11:53:25PM +0200, Jeremie Koenig wrote: > On Tue, Jul 27, 2010 at 01:20:57AM +0200, olafbuddenha...@gmx.net > wrote: > > On Tue, Jul 13, 2010 at 08:00:24PM +0200, Jérémie Koenig wrote:
> > > The second one, which I favor and am working on so far, would be > > > to enumerate the _grub_ devices, and use get_storage_info() on > > > them too. > > > > Not sure what you mean by using get_storage_info() on GRUB > > devices?... > > I mean we enumerate the "whole disk" devices from the devices.map, use > get_storage_info() on them and compare the result with the storage > information for the looked up file. > > If both use the same underlying device, we use grub's own partition > information to find the one which contains the file, then cook a > /dev/hdXsY device name for it. OK, this is what I understood from the IRC discussion. Just wanted to make sure we are on the same track here -- the explanation in the previous mail wasn't really clear :-) -antrik-