Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 145057 Details for
Bug 212031
genkernel and 2.6.25* with busybox makes all device nodes as unbootable character devices
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
busybox-1.1.3+gentoo-mdev-1.9.0.patch
busybox-1.1.3+gentoo-mdev-1.9.0.patch (text/plain), 541 bytes, created by
Robin Johnson
on 2008-03-02 02:41:16 UTC
(
hide
)
Description:
busybox-1.1.3+gentoo-mdev-1.9.0.patch
Filename:
MIME Type:
Creator:
Robin Johnson
Created:
2008-03-02 02:41:16 UTC
Size:
541 bytes
patch
obsolete
>diff -Nuar busybox-1.1.3+gentoo.orig/util-linux/mdev.c busybox-1.1.3+gentoo/util-linux/mdev.c >--- busybox-1.1.3+gentoo.orig/util-linux/mdev.c 2006-06-13 05:30:42.000000000 -0700 >+++ busybox-1.1.3+gentoo/util-linux/mdev.c 2008-03-01 18:17:36.000000000 -0800 >@@ -52,7 +52,7 @@ > /* Determine device name, type, major and minor */ > > device_name = strrchr(path, '/') + 1; >- type = strncmp(path+5, "block/", 6) ? S_IFCHR : S_IFBLK; >+ type = (path[5] == 'c' ? S_IFCHR : S_IFBLK); > if (sscanf(temp, "%d:%d", &major, &minor) != 2) > goto end; >
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 212031
: 145057 |
145058
|
153091