Red Hat Bugzilla – Bug 597191
RFE: write /dev/disk/by-path paths to /boot/grub/device.map
Last modified: 2010-08-20 17:08:21 EDT
When a usb stick is plugged in during installation, it now often becomes sda
(since the usb mass storage scanning delay was reduced). This results in a means /boot/grub/device.map getting writting which contains:
If the user then later needs to re-install grub and uses the device.amp, without the usb stick present. Things go wrong.
As /dev/sdx names are not really stable it would be much better to write
/dev/disk/by-path/... paths to device.map .
/dev/disk/by-path/ for that is a really bad idea - disk paths change sometimes when new pci devices are installed due to pci enumeration weirdness.