Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 262915
Collapse All | Expand All

(-)file_not_specified_in_diff (-3 / +9 lines)
Line  Link Here
0
-- /usr/share/genkernel/generic/initrd.scripts.orig    2009-03-17 19:44:39.000000000 +0100
0
++ /usr/share/genkernel/generic/initrd.scripts 2009-03-18 12:37:20.000000000 +0100
Lines 260-267 Link Here
260
                                       bad_msg "NFS Mounting failed. Is the path corrent ?"
260
                                       bad_msg "NFS Mounting failed. Is the path corrent ?"
261
                               fi
261
                               fi
262
                       else
262
                       else
263
                               good_msg "Attempting to mount NFS root on ${NFSROOT}"
263
                               NFSOPTIONS=${NFSROOT#*,}
264
                               mount -t nfs -o ro,nolock,rsize=1024,wsize=1024 ${NFSROOT} ${NEW_ROOT}
264
                               NFSROOT=${NFSROOT%%,*}
265
                               if [ "${NFSOPTIONS}" = "${NFSROOT}" ]
266
                               then
267
                                       NFSOPTIONS="ro,nolock,rsize=1024,wsize=1024"
268
                               fi
269
                               good_msg "Attempting to mount NFS root on ${NFSROOT} with options ${NFSOPTIONS}"
270
                               mount -t nfs -o ${NFSOPTIONS} ${NFSROOT} ${NEW_ROOT}
265
                               if [ "$?" = '0' ]
271
                               if [ "$?" = '0' ]
266
                               then
272
                               then
267
                                       REAL_ROOT="/dev/nfs"
273
                                       REAL_ROOT="/dev/nfs"

Return to bug 262915