Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 185440 Details for
Bug 262915
[patch] sys-kernel/genkernel-3.4.10-r2 initrd.scripts do not parse nfs mount options in nfsroot parameter
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for /usr/share/genkernel/generic/initrd.scripts
initrd.scripts.patch (text/plain), 1.20 KB, created by
thomas
on 2009-03-18 14:47:53 UTC
(
hide
)
Description:
Patch for /usr/share/genkernel/generic/initrd.scripts
Filename:
MIME Type:
Creator:
thomas
Created:
2009-03-18 14:47:53 UTC
Size:
1.20 KB
patch
obsolete
>--- /usr/share/genkernel/generic/initrd.scripts.orig 2009-03-17 19:44:39.000000000 +0100 >+++ /usr/share/genkernel/generic/initrd.scripts 2009-03-18 12:37:20.000000000 +0100 >@@ -260,8 +260,14 @@ > bad_msg "NFS Mounting failed. Is the path corrent ?" > fi > else >- good_msg "Attempting to mount NFS root on ${NFSROOT}" >- mount -t nfs -o ro,nolock,rsize=1024,wsize=1024 ${NFSROOT} ${NEW_ROOT} >+ NFSOPTIONS=${NFSROOT#*,} >+ NFSROOT=${NFSROOT%%,*} >+ if [ "${NFSOPTIONS}" = "${NFSROOT}" ] >+ then >+ NFSOPTIONS="ro,nolock,rsize=1024,wsize=1024" >+ fi >+ good_msg "Attempting to mount NFS root on ${NFSROOT} with options ${NFSOPTIONS}" >+ mount -t nfs -o ${NFSOPTIONS} ${NFSROOT} ${NEW_ROOT} > if [ "$?" = '0' ] > then > REAL_ROOT="/dev/nfs"
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 262915
: 185440