Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 380504 Details for
Bug 508574
sys-apps/openrc-0.12.4: netmount doesn't netmount
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
netmount.patch
netmount.patch (text/plain), 2.11 KB, created by
William Hubbs
on 2014-07-09 18:26:22 UTC
(
hide
)
Description:
netmount.patch
Filename:
MIME Type:
Creator:
William Hubbs
Created:
2014-07-09 18:26:22 UTC
Size:
2.11 KB
patch
obsolete
>diff --git a/init.d/netmount.in b/init.d/netmount.in >index 39ab0bc..8845ca8 100644 >--- a/init.d/netmount.in >+++ b/init.d/netmount.in >@@ -17,22 +17,23 @@ depend() > > start() > { >- local x= fs= rc= >- for x in $net_fs_list $extra_net_fs_list; do >- case "$x" in >- nfs|nfs4) >- continue >- ;; >- esac >- fs="$fs${fs:+,}$x" >- done >- >+ local rc= > ebegin "Mounting network filesystems" >- mount -at $fs >- rc=$? > if [ "$RC_UNAME" = Linux ]; then > mount -a -O _netdev > rc=$? >+ else >+ local x= fs= >+ for x in $net_fs_list $extra_net_fs_list; do >+ case "$x" in >+ nfs|nfs4) >+ continue >+ ;; >+ esac >+ fs="$fs${fs:+,}$x" >+ done >+ mount -at $fs >+ rc=$? > fi > ewend $rc "Could not mount all network filesystems" > return 0 >@@ -40,45 +41,44 @@ start() > > stop() > { >- local x= fs= >- > ebegin "Unmounting network filesystems" >- . "$RC_LIBEXECDIR"/sh/rc-mount.sh >- >- for x in $net_fs_list $extra_net_fs_list; do >- case "$x" in >- nfs|nfs4) >- continue >- ;; >- *) >- fs="$fs${fs:+,}$x" >- ;; >- esac >- done >- if [ -n "$fs" ]; then >- umount -at $fs || eerror "Failed to simply unmount filesystems" >- fi >- >- eindent >- fs= >- for x in $net_fs_list $extra_net_fs_list; do >- case "$x" in >- nfs|nfs4) >- continue >- ;; >- *) >- fs="$fs${fs:+|}$x" >- ;; >- esac >- done >- [ -n "$fs" ] && fs="^($fs)$" >- do_unmount umount ${fs:+--fstype-regex} $fs --netdev >- retval=$? >- >- eoutdent > if [ "$RC_UNAME" = Linux ]; then > umount -a -O _netdev > retval=$? >+ else >+ local x= fs= >+ . "$RC_LIBEXECDIR"/sh/rc-mount.sh >+ >+ for x in $net_fs_list $extra_net_fs_list; do >+ case "$x" in >+ nfs|nfs4) >+ continue >+ ;; >+ *) >+ fs="$fs${fs:+,}$x" >+ ;; >+ esac >+ done >+ if [ -n "$fs" ]; then >+ umount -at $fs || eerror "Failed to simply unmount filesystems" >+ fi >+ >+ eindent >+ fs= >+ for x in $net_fs_list $extra_net_fs_list; do >+ case "$x" in >+ nfs|nfs4) >+ continue >+ ;; >+ *) >+ fs="$fs${fs:+|}$x" >+ ;; >+ esac >+ done >+ [ -n "$fs" ] && fs="^($fs)$" >+ do_unmount umount ${fs:+--fstype-regex} $fs --netdev >+ retval=$? >+ eoutdent > fi > eend $retval "Failed to unmount network filesystems" > }
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 508574
: 380504