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:27:29 +0000 (15:27 -0800)
commit5075cdad04794c01011d4341ad48b4e42d6dd361
tree687602e5475972416c6be15ab711769f40fd1786
parent1d22c1f7865f47c5e03512e3165b5e59fe644b68
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