[Bug 248216] New: handle /dev/disk/by-* in grub device.map
https://bugzilla.novell.com/show_bug.cgi?id=248216 Summary: handle /dev/disk/by-* in grub device.map Product: openSUSE 10.3 Version: Alpha 1 Platform: i386 OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: duwe@novell.com ReportedBy: olh@novell.com QAContact: qa@suse.de Yast writes currently '/dev/hda' into /boot/grub/device.map device.map is evaluated during grub installation, not at runtime. See rpm -q --scripts grub If /dev/hda is replaced with /dev/disk/by-id/ata-ST340014A_5JXF59CB, the grub call will fail. grub does a stat() on that file, then it does append a digit to the device node name to get to the partition. But the partitions are not "%d", but "-part%d". There is appearently already code to handle the cciss device names. grub needs to access the partition because the first blocks of the partition, which is supposed to contain the bootloader, are in a different part of the page cache. Every modification to the "filesystem superblock" will undo all changes made via the /dev/hda interface. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=248216 duwe@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Priority|P5 - None |P2 - High ------- Comment #1 from duwe@novell.com 2007-02-23 06:47 MST ------- There's a patch already for /dev/cciss; there should be a similar thing for /dev/disk/by-id/. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=248216 duwe@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #2 from duwe@novell.com 2007-03-19 04:31 MST ------- Fixed in STABLE, will be in next beta. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=248216
Olaf Hering
participants (1)
-
bugzilla_noreply@novell.com