Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 116919 Details for
Bug 175243
/proc/mounts references /dev/root for / but /dev/root does not exist
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
use root= rather then hardcoding to /dev/root
dev-root-real-root.patch (text/plain), 883 bytes, created by
Doug Goldstein (RETIRED)
on 2007-04-21 17:29:36 UTC
(
hide
)
Description:
use root= rather then hardcoding to /dev/root
Filename:
MIME Type:
Creator:
Doug Goldstein (RETIRED)
Created:
2007-04-21 17:29:36 UTC
Size:
883 bytes
patch
obsolete
>--- linux-2.6.20-gentoo-r6/init/do_mounts.c 2007-04-17 01:27:27.000000000 -0400 >+++ linux-dev-root/init/do_mounts.c 2007-04-21 13:00:32.000000000 -0400 >@@ -354,7 +354,10 @@ > va_start(args, fmt); > vsprintf(buf, fmt, args); > va_end(args); >- fd = sys_open("/dev/root", O_RDWR | O_NDELAY, 0); >+ if (saved_root_name[0]) >+ fd = sys_open(saved_root_name, O_RDWR | O_NDELAY, 0); >+ else >+ fd = sys_open("/dev/root", O_RDWR | O_NDELAY, 0); > if (fd >= 0) { > sys_ioctl(fd, FDEJECT, 0); > sys_close(fd); >@@ -397,8 +400,13 @@ > } > #endif > #ifdef CONFIG_BLOCK >- create_dev("/dev/root", ROOT_DEV); >- mount_block_root("/dev/root", root_mountflags); >+ if (saved_root_name[0]) { >+ create_dev(saved_root_name, ROOT_DEV); >+ mount_block_root(saved_root_name, root_mountflags); >+ } else { >+ create_dev("/dev/root", ROOT_DEV); >+ mount_block_root("/dev/root", root_mountflags); >+ } > #endif > } >
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 175243
:
116745
| 116919