From 8b1d71787f4fb3cbc69568bcddb15b7fb1169e28 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 22 Mar 2011 14:27:11 -0400 Subject: 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. --- rc.d/init.d/netfs | 1 + rc.d/rc.sysinit | 1 + 2 files changed, 2 insertions(+) diff --git a/rc.d/init.d/netfs b/rc.d/init.d/netfs index 95fe0296..79cb19d0 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 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 -- cgit v1.2.1