grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH,HURD] Fix grub-probe with userland partition support


From: Samuel Thibault
Subject: Re: [PATCH,HURD] Fix grub-probe with userland partition support
Date: Mon, 23 Apr 2012 13:06:27 +0200
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Vladimir 'φ-coder/phcoder' Serbinenko, le Mon 23 Apr 2012 12:45:09 +0200, a 
écrit :
> On 23.04.2012 11:40, Samuel Thibault wrote:
> > Vladimir 'φ-coder/phcoder' Serbinenko, le Mon 23 Apr 2012 10:52:09 +0200, a 
> > écrit :
> >> map was never intended to be globally visible. At most perhaps
> >> "semi-local" due to difficulties of split between getroot.c and hostdisk.c
> >> Moreover the behaviour of find_root_device must be independent of what
> >> is already in map since we don't rely anymore at map being populated at
> >> all and at entries only on as-needed basis.
> > How can I get the same information, then? (the unix path corresponding
> > to a disk opened with grub_disk_open())
> The problem is bigger than just getting the device from a disk. The
> problem is that you assume that grub_disk_dev_iterate will go through
> the disk in question which isn't necessarily true.

And so?

Our need is to iterate over all disks that GRUB sees, to match that with
where the file resides.

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]