Add some patches to grub.
[people/pmueller/ipfire-2.x.git] / src / patches / grub-0.97-dmraid-partition-names.patch
1 --- grub-0.97/lib/device.c.dmraid-partition-names 2006-02-13 18:53:59.000000000 -0500
2 +++ grub-0.97/lib/device.c 2006-02-13 18:56:04.000000000 -0500
3 @@ -1106,6 +1106,7 @@
4 /* Compaq smart and others */
5 (strncmp(dev, "/dev/ida/", 9) == 0 ||
6 strncmp(dev, "/dev/ataraid/", 13) == 0 ||
7 + strncmp(dev, "/dev/mapper/", 12) == 0 ||
8 strncmp(dev, "/dev/cciss/", 11) == 0 ||
9 strncmp(dev, "/dev/rd/", 8) == 0) ? "p" : "",
10 ((partition >> 16) & 0xFF) + 1);