etc/rc.d - diskless adjustments
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 17 Feb 2016 23:27:29 +0000 (15:27 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 17 Feb 2016 23:30:14 +0000 (15:30 -0800)
commit92f9004c706737dcc7c619defc316d2e0d01b51c
tree54ef702264b755b54617f479ee6563c7e0a94190
parentfc494441864a75ec16283914ea3807092d64922d
etc/rc.d - diskless adjustments

* Try to 'mount -u /' before testing for a R/W /var and /tmp.  This fixes
  an issue where diskless would always create a MFS /var and MFS /tmp even
  when the NFS root is nominally writable.

* Test for a R/W /var and /tmp with a echo | dd command instead of mkdir,
  which should work nicely even with multiple clients booting at the same
  time.
etc/rc.d/diskless