git: DragonFly_RELEASE_4_4 etc/rc.d - diskless adjustments
Matthew Dillon
dillon at crater.dragonflybsd.org
Wed Feb 17 15:30:25 PST 2016
commit 92f9004c706737dcc7c619defc316d2e0d01b51c
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Wed Feb 17 15:27:29 2016 -0800
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.
Summary of changes:
etc/rc.d/diskless | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/92f9004c706737dcc7c619defc316d2e0d01b51c
--
DragonFly BSD source repository
More information about the Commits
mailing list