Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 326652 Details for
Bug 438380
[tracker] software that relies on /dev/root
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
dev-root-real-root.patch
dev-root-real-root.patch (text/plain), 928 bytes, created by
William Hubbs
on 2012-10-15 21:37:38 UTC
(
hide
)
Description:
dev-root-real-root.patch
Filename:
MIME Type:
Creator:
William Hubbs
Created:
2012-10-15 21:37:38 UTC
Size:
928 bytes
patch
obsolete
>diff --git a/init/do_mounts.c b/init/do_mounts.c >index f8a6642..b3c53350 100644 >--- a/init/do_mounts.c >+++ b/init/do_mounts.c >@@ -461,7 +461,10 @@ void __init change_floppy(char *fmt, ...) > 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); >@@ -504,8 +507,13 @@ void __init mount_root(void) > } > #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 438380
:
326560
| 326652 |
342330
|
342828
|
342830