Subject: bin/8727: can't mount all nfs filesystems at once with noauto in fstab
To: None <gnats-bugs@gnats.netbsd.org>
From: Heiko W.Rupp <hwr@sharky.pilhuhn.de>
List: netbsd-bugs
Date: 11/01/1999 11:24:48
>Number:         8727
>Category:       bin
>Synopsis:       can't mount all nfs filesystems at once with noauto in fstab
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov  1 11:24:01 1999
>Last-Modified:
>Originator:     Heiko W.Rupp
>Organization:
private
>Release:        NetBSD-current
>Environment:
	
System: NetBSD sharky 1.4K NetBSD 1.4K (SHARKY) #2: Sun Sep 19 17:46:29 MEST 1999 hwr@sharky:/u/snert/src/sys/arch/arm32/compile/SHARKY arm32


>Description:
	When a filesystem is marked "noauto" in /etc/fstab
catbert# grep /transfer /etc/fstab
snert:/transfer         /transfer       nfs     rw,noauto       0 0

	it is not mounted at boot time. If later on, all nfs filesystems 
	shall be mounted, it can't be done with "mount -a":

catbert# df |grep trans
catbert# mount -a
catbert# !df
df | grep trans
catbert# 

So, for every nfs file system you have to mount it by hand with

mount server:/fs /transfer

This is a pita with many filesystems. Umount does trt by the way.

Imho the semantics of -a in mount should be changed accordingly to the
one of umount.

>How-To-Repeat:
	
>Fix:
	
>Audit-Trail:
>Unformatted: