git: install - Fix a few issues

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Aug 15 14:24:00 PDT 2017


commit a07abcb98fb0546c5d1625e3fe5898ff4e730b90
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Aug 15 14:19:51 2017 -0700

    install - Fix a few issues
    
    * sleep 1 second before [re]surveying drives to give devfs time to
      [re]probe the drive.
    
    * fn_subpart_hammer was apparently trying to check the capacity of the
      current slice when there is no current slice.  Check the disk capacity
      instead.

Summary of changes:
 usr.sbin/installer/dfuibe_installer/flow.c              | 4 ++++
 usr.sbin/installer/dfuibe_installer/fn_disk.c           | 2 +-
 usr.sbin/installer/dfuibe_installer/fn_subpart_hammer.c | 8 +++++---
 usr.sbin/installer/libinstaller/diskutil.c              | 9 ++++++++-
 usr.sbin/installer/libinstaller/diskutil.h              | 1 +
 usr.sbin/installer/libinstaller/survey.c                | 1 +
 6 files changed, 20 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a07abcb98fb0546c5d1625e3fe5898ff4e730b90


-- 
DragonFly BSD source repository


More information about the Commits mailing list