Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 47208 Details for
Bug 76143
grub doesn't boot from an i2o raid card
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
grub-0.93-special-device-names.patch
grub-0.93-special-device-names.patch (text/plain), 702 bytes, created by
Christian Zoffoli (RETIRED)
on 2004-12-30 07:02:39 UTC
(
hide
)
Description:
grub-0.93-special-device-names.patch
Filename:
MIME Type:
Creator:
Christian Zoffoli (RETIRED)
Created:
2004-12-30 07:02:39 UTC
Size:
702 bytes
patch
obsolete
>--- grub-0.93/lib/device.c.raid 2002-05-20 05:53:46.000000000 -0400 >+++ grub-0.93/lib/device.c 2002-12-28 23:24:10.000000000 -0500 >@@ -689,7 +689,14 @@ > if (strcmp (dev + strlen(dev) - 5, "/disc") == 0) > strcpy (dev + strlen(dev) - 5, "/part"); > } >- sprintf (dev + strlen(dev), "%d", ((partition >> 16) & 0xFF) + 1); >+ >+ sprintf (dev + strlen(dev), "%s%d", >+ /* Compaq smart and others */ >+ (strncmp(dev, "/dev/ida/", 9) == 0 || >+ strncmp(dev, "/dev/ataraid/", 13) == 0 || >+ strncmp(dev, "/dev/cciss/", 11) == 0 || >+ strncmp(dev, "/dev/rd/", 8) == 0) ? "p" : "", >+ ((partition >> 16) & 0xFF) + 1); > > /* Open the partition. */ > fd = open (dev, O_RDWR);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 76143
: 47208 |
47209