Subject: Re: 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: 07/09/1997 12:59:32
Once again this topic:
I've running the more radical approach - (re)mounting
"/" only at the beginning of /etc/rc instead of "-nonfs" -
in 2 different diskless setups for a while.
The advantage is that the order of /etc/fstab is used as
mount order (what one assumes normally), and various
things work now, eg:
-union mounts involving NFS
-MFS /var/tmp on top of NFS /var
-umapfs and nullfs with NFS, as people pointed out

Can anybody imagine a setup which breaks if this becomes
standard in the distribution?

best regards
Matthias


*** rc  1997/06/25 23:30:28     1.79
--- rc  1997/07/09 10:35:28
***************
*** 65,69 ****

  umount -a >/dev/null 2>&1
! mount -a -t nonfs
  rm -f /fastboot               # XXX (root now writeable)

--- 65,69 ----

  umount -a >/dev/null 2>&1
! mount /
  rm -f /fastboot               # XXX (root now writeable)

***************
*** 206,210 ****

  echo '.'
! mount -a -t nfs

  if [ -f /sbin/ldconfig ]; then
--- 206,210 ----

  echo '.'
! mount -a

  if [ -f /sbin/ldconfig ]; then