Subject: need change in fs mount order
To: None <current-users@NetBSD.ORG>
From: Matthias Drochner <drochner@zelux6.zel.kfa-juelich.de>
List: current-users
Date: 06/27/1997 15:58:29
Currently, in /etc/rc, first all non-nfs file systems
are mounted, and after network and nfs setup
the nfs filesystems.
This does not do the right thing if I have union
mounts between local filesystems and NFS:
the union mount is done too early and the NFS
files are not visible.
A common application for such a setup is a
central source archive on a NFS server, eg
zelnfs:/netbsd-current/src	/usr/src	nfs	ro	0 0
/dev/wd0e			/altroot		ffs	rw	0 0
/altroot/src			/usr/src 	union	rw

To get this working, I changed the
mount -a -t nonfs
at the beginning of /etc/rc to
mount -a -t nonfs,union
(+ the corresponding "mount -a -t nfs,union" later.)

Would this break things for other setups?
Why are _all_ non-nfs file systems mounted
before netstart (instead of "/" only)?

best regards
Matthias Drochner