partitioned mdraid support (untested)

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-01-08 16:33:49 +01:00
parent 6383772c92
commit 4b07826647
3 changed files with 13 additions and 6 deletions

View file

@ -639,7 +639,7 @@ grub_util_get_dev_abstraction (const char *os_dev __attribute__((unused)))
return GRUB_DEV_ABSTRACTION_LVM;
/* Check for RAID. */
if (!strncmp (os_dev, "/dev/md", 7))
if (!strncmp (os_dev, "/dev/md", 7) && ! grub_util_device_is_mapped (os_dev))
return GRUB_DEV_ABSTRACTION_RAID;
#endif