Codebase list openrc / cd7883d
localmount: Allow users to control whether errors are ignored X-Gentoo-Bug: 572138 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=572138 William Hubbs 8 years ago
2 changed file(s) with 11 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
00 # Stop the unmounting of certain points.
11 # This could be useful for some NFS related work.
22 #no_umounts="/dir1:/var/dir2"
3 #
4 # Ignore errors when mounting local file systems.
5 # This should be left alone unless you know what you are doing. If it is
6 # set to yes, not only will we allow mount failures, but we will ignore
7 # syntax errors in fstab.
8 #ignore_mount_errors="NO"
3737 eend $? "Some local filesystem failed to mount"
3838 rc=$?
3939 if [ "$RC_UNAME" != Linux ]; then
40 rc=0
41 elif yesno "${ignore_mount_errors:-NO}"; then
42 if [ $rc -ne 0 ]; then
43 ewarn "localmount: errors detected, but ignored"
44 fi
4045 rc=0
4146 fi
4247 return $rc