diff options
author | Bill Nottingham <notting@redhat.com> | 2011-03-22 14:27:11 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2011-04-12 09:54:59 -0400 |
commit | 3c55393582a6215e4a8dd1fe37a5272241478df6 (patch) | |
tree | bf7d139cea3f5607914457c41e39459a18f4db3e /rc.d | |
parent | 96d924cfd7cf001a06f7c37d751e166fc9778e32 (diff) | |
download | initscripts-3c55393582a6215e4a8dd1fe37a5272241478df6.tar initscripts-3c55393582a6215e4a8dd1fe37a5272241478df6.tar.gz initscripts-3c55393582a6215e4a8dd1fe37a5272241478df6.tar.bz2 initscripts-3c55393582a6215e4a8dd1fe37a5272241478df6.tar.xz initscripts-3c55393582a6215e4a8dd1fe37a5272241478df6.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')
-rwxr-xr-x | rc.d/init.d/netfs | 1 | ||||
-rwxr-xr-x | rc.d/rc.sysinit | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/rc.d/init.d/netfs b/rc.d/init.d/netfs index 94f569dc..6bb149f6 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 47c210f9..cfa457e6 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 |