install - Fix a few issues
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 15 Aug 2017 21:19:51 +0000 (14:19 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 15 Aug 2017 21:19:51 +0000 (14:19 -0700)
commita07abcb98fb0546c5d1625e3fe5898ff4e730b90
tree94b5659efab1e7c76e7e5534ce9c0be3ebb4bf6b
parentb1877161897ca1f049bf1af0212da82885e9fbd5
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.
usr.sbin/installer/dfuibe_installer/flow.c
usr.sbin/installer/dfuibe_installer/fn_disk.c
usr.sbin/installer/dfuibe_installer/fn_subpart_hammer.c
usr.sbin/installer/libinstaller/diskutil.c
usr.sbin/installer/libinstaller/diskutil.h
usr.sbin/installer/libinstaller/survey.c