Comment # 11 on bug 1011529 from
(In reply to Michel Normand from comment #7)
> Created attachment 703548 [details]
> grub2-install debug trace
> 
> I am wondering if the attached xx3.log debug trace would explain why
> grub2-install changed from input
> /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_mpath1-part1

It's udev device name (for a partition)

> to
> /dev/mapper/0QEMU_QEMU_HARDDISK_mpath1

It's (kernel's) "canonical" device name (for a disk)

The udev names are translated into "canonical" names under /dev/... and then
processed internally for their name patterns being "known" to grub2. Otherwise
you have to teach grub to know each and every different name patterns changing
all the time with user-land tools applying different rules/policies ..

The device mapper is probably the only exception to use names
under/dev/mappper/... as it's more human readable than /dev/dm-[0-9]+ and also
the pattern is understood.

> when calling ofpathname script.

Why does the name matter here ?
Thanks.


You are receiving this mail because: