aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2011-03-22 14:27:11 -0400
committerBill Nottingham <notting@redhat.com>2011-03-22 14:27:11 -0400
commit5e2b364ebd6808c43f46f7853d2fe6de4edbada1 (patch)
treecaf6accd99ce1d71e72e5243c4bfcf2dd4e41b8d
parent920db32a62a82317147d1d00f1a5c0e615ce60fe (diff)
downloadinitscripts-5e2b364ebd6808c43f46f7853d2fe6de4edbada1.tar
initscripts-5e2b364ebd6808c43f46f7853d2fe6de4edbada1.tar.gz
initscripts-5e2b364ebd6808c43f46f7853d2fe6de4edbada1.tar.bz2
initscripts-5e2b364ebd6808c43f46f7853d2fe6de4edbada1.tar.xz
initscripts-5e2b364ebd6808c43f46f7853d2fe6de4edbada1.zip
Add a comment explaining the oft-confused -t nox,y,z mount syntax.
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 8d9854fb..77a0a68d 100755
--- a/rc.d/init.d/netfs
+++ b/rc.d/init.d/netfs
@@ -98,6 +98,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,cifs,ncpfs,gfs
;;
stop)
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index ad2c83e5..6067ea88 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -494,6 +494,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