FreeBSD Bugzilla – Attachment 116206 Details for
Bug 158127
[patch] remount_optional option in rc.initdiskless doesn't actually work
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 665 bytes, created by
Brian Olsen
on 2011-06-21 17:00:22 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Brian Olsen
Created:
2011-06-21 17:00:22 UTC
Size:
665 bytes
patch
obsolete
>--- /etc/rc.initdiskless 2011-02-18 02:52:09.000000000 +0100 >+++ etc/rc.initdiskless 2011-06-21 17:15:21.000000000 +0200 >@@ -166,14 +166,17 @@ > chkerr() { > lastitem () ( n=$(($# - 1)) ; shift $n ; echo $1 ) > mountpoint="$(lastitem $2)" >- [ -r $mountpoint/remount_optional ] && ( echo "$2 failed: ignoring due to remount_optional" ; return ) > case $1 in > 0) > ;; > *) >- echo "$2 failed: dropping into /bin/sh" >- /bin/sh >- # RESUME >+ if [ -r $mountpoint/remount_optional ] ; then >+ echo "$2 failed: ignoring due to remount_optional" >+ else >+ echo "$2 failed: dropping into /bin/sh" >+ /bin/sh >+ # RESUME >+ fi > ;; > esac > }
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 158127
: 116206