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.

(This is the approach used in the patch sent.)
-- 
Jeremie Koenig <j...@jk.fr.eu.org>

Reply via email to