git: etc/rc.d - diskless adjustments

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Feb 17 15:30:03 PST 2016


commit 5075cdad04794c01011d4341ad48b4e42d6dd361
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/5075cdad04794c01011d4341ad48b4e42d6dd361


-- 
DragonFly BSD source repository



More information about the Commits mailing list