aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2011-03-22 14:27:11 -0400
committerHarald Hoyer <harald@redhat.com>2011-04-19 16:48:11 +0200
commit20ba16eeb5dc1ae50d828a5e6fa1cea948936961 (patch)
treed703b6390b7e30e3e2cceece471612015f812dc7
parent1d1fb1e65b45b45b4fa5b38205bb1f0f04bf8497 (diff)
downloadinitscripts-20ba16eeb5dc1ae50d828a5e6fa1cea948936961.tar
initscripts-20ba16eeb5dc1ae50d828a5e6fa1cea948936961.tar.gz
initscripts-20ba16eeb5dc1ae50d828a5e6fa1cea948936961.tar.bz2
initscripts-20ba16eeb5dc1ae50d828a5e6fa1cea948936961.tar.xz
initscripts-20ba16eeb5dc1ae50d828a5e6fa1cea948936961.zip
Add a comment explaining the oft-confused -t nox,y,z mount syntax.
[Harald Hoyer <harald@redhat.com>: backported 5e2b364ebd6] The 'no' applies to all listed filesystem types, not just the first. Since this comes up in bugzilla once every month or two, explicitly comment it.
-rwxr-xr-xrc.d/init.d/netfs1
-rwxr-xr-xrc.d/rc.sysinit1
2 files changed, 2 insertions, 0 deletions
diff --git a/rc.d/init.d/netfs b/rc.d/init.d/netfs
index 89243824..0ecfe668 100755
--- a/rc.d/init.d/netfs
+++ b/rc.d/init.d/netfs
@@ -97,6 +97,7 @@ case "$1" in
fi
}
touch /var/lock/subsys/netfs
+ # The 'no' applies to all listed filesystem types. See mount(8).
action $"Mounting other filesystems: " mount -a -t nonfs,nfs4,smbfs,cifs,ncpfs,gfs
;;
stop)
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 817cb0d9..e5fa77aa 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -734,6 +734,7 @@ fi
# Mount all other filesystems (except for NFS and /proc, which is already
# mounted). Contrary to standard usage,
# filesystems are NOT unmounted in single user mode.
+# The 'no' applies to all listed filesystem types. See mount(8).
if [ "$READONLY" != "yes" ] ; then
action $"Mounting local filesystems: " mount -a -t nonfs,nfs4,smbfs,ncpfs,cifs,gfs,gfs2 -O no_netdev
else