grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] fix grub-probe fail on by-(id|uuid|path) device names


From: Michael Chang
Subject: [PATCH] fix grub-probe fail on by-(id|uuid|path) device names
Date: Fri, 20 Apr 2012 19:40:48 +0800
User-agent: Mutt/1.5.21 (2010-09-15)

This patch fixes grub-probe fails on probing devices under
/dev/disk/by-id and other similar mount-by alias names. The method
used to determine the whole disk is by it's name without numeric
character end, but this may be wrong for the by-(id|uuid|path) names
as they are not necessary ended without numeric character. For
instance, my disk was named
"/dev/disk/by-id/ata-WDC_WD1600BEKT-60V5T1_WD-WXK0A69Y4761".

The fix is use resolved link to kernel device names (like /dev/sda)
instead of these alias names.

Downstream bug:
https://bugzilla.novell.com/show_bug.cgi?id=757746

Attachment: use_kernel_device_name_in_device_is_wholedisk.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]