aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2011-03-22 14:27:11 -0400
committerPetr Lautrbach <plautrba@redhat.com>2011-08-15 09:52:37 +0200
commit8b1d71787f4fb3cbc69568bcddb15b7fb1169e28 (patch)
tree91b5291b863488867bcf214929ffbcde67a12157 /rc.d/rc.sysinit
parent13c5a4efdd53445e0d92d71d630402a2a20d689e (diff)
downloadinitscripts-8b1d71787f4fb3cbc69568bcddb15b7fb1169e28.tar
initscripts-8b1d71787f4fb3cbc69568bcddb15b7fb1169e28.tar.gz
initscripts-8b1d71787f4fb3cbc69568bcddb15b7fb1169e28.tar.bz2
initscripts-8b1d71787f4fb3cbc69568bcddb15b7fb1169e28.tar.xz
initscripts-8b1d71787f4fb3cbc69568bcddb15b7fb1169e28.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.
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit1
1 files changed, 1 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index ecccd21c..4e0a3e70 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