I have reported bug #33133 in savannah.
The issue is that "grub-probe -v --target=device /tmp/root/boot" fails
in current trunk. The issue appears to have been introduced in revision
3214 into
grub/grub-core/kern/emu/getroot.c:grub_find_root_device_from_mountinfo().
/tmp for me is a tmpfs. /tmp/root has mounted on it a USB pen
(/dev/sdd1).
Steppign through with gdb, it seems that the list of entries gets
created properly, but around line 209, there is something curious:
if (entries[i].major != 0)
continue; /* not a virtual device */
which I can't understand. Its effect is to always skip over mount points
for real devices. I'm not really sure I completely understand what this
virtual device work around is. But may this whole test is just bogus.
Why not the "lowest" mount enclosing the path?
Regards,
Ian
--
Ian Dall <[email protected]>
_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel