Subject: misc/4229: Minor clean-up request for /etc/rc before 1.3 (mount)
To: None <>
From: Erik Bertelsen <>
List: netbsd-bugs
Date: 10/07/1997 00:48:56
>Number:         4229
>Category:       misc
>Synopsis:       Minor clean-up request for /etc/rc before 1.3 (mount)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Oct  6 13:50:02 1997
>Originator:     Erik Bertelsen
>Release:        NetBSD-current 5 oct 1997
System: NetBSD 1.2G NetBSD 1.2G (Q610) #25: Sun Oct 5 23:59:19 MEST 1997 mac68k

	When a NetBSD-current system boots the sequence of mount
	commands in /etc/rc may cause a diagnostic to be printed on
	the console, e.g.

starting rpc daemons: portmap.
ufs: /dev/sd0g on /usr: Device busy
starting nfs daemons: mountd nfsd.

	This is really harmfull, but it does not look nice, and it may
	confuse people upgrading from previous releases to the forth-
	coming 1.3.

	The message is issued by the "mount -a" command in /etc/rc
	before starting the nfs daemons, and it is caused by /usr
	already being mounted.

	My system is running NetBSD-current with unmodified /etc/rc
	and /etc/netstart files. I'm running with the following

/dev/sd0a	/	ufs	rw 1 1
/dev/sd0b	none	swap	sw 0 0
/dev/sd0g	/usr	ufs	rw 1 2
/dev/sd0h	/home	ufs	rw 1 3
/dev/cd0a	/cdrom	cd9660  ro,noauto

	I have not supplied any fix with this PR, and I have also
	noticed some discussions about the "correct" way of mounting
	the file systems within /etc/rc. May I at least request a
	way of mounting that does not issue error messages that really
	don't indicate a problem.

- Erik Bertelsen