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.
> Samuel
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to