installer - Add hammer2 support to the installer

Operating Systems / DragonFlyBSD - Matthew Dillon [apollo.backplane.com] - 11 September 2017 20:57 EDT

- hammer2 can now be selected as a filesystem in the installer.

- Note that we still for /boot to use UFS. The boot loader *CAN* access a hammer2 /boot, but the small size of the filesystem makes it too easy to fill up when doing installkernel or installworld.

- Also fix a minor bug in the installer. when issuing a 'dumpon device' be sure to first issue a 'dumpon off' to avoid dumpon complaints about a dump device already being specified.

e90c1eb installer - Add hammer2 support to the installer
share/installer/cmdnames.conf | 3 +
usr.sbin/installer/dfuibe_installer/Makefile | 3 +-
usr.sbin/installer/dfuibe_installer/flow.c | 34 ++++++++---
usr.sbin/installer/dfuibe_installer/flow.h | 2 +-
usr.sbin/installer/dfuibe_installer/fn.h | 2 +-
usr.sbin/installer/dfuibe_installer/fn_configure.c | 40 ++++++-------
usr.sbin/installer/dfuibe_installer/fn_install.c | 21 ++++++-
.../installer/dfuibe_installer/fn_subpart_hammer.c | 67 +++++++++++++++-------
usr.sbin/installer/libinstaller/diskutil.c | 67 +++++++++++++++++++++-
usr.sbin/installer/libinstaller/diskutil.h | 7 ++-
10 files changed, 189 insertions(+), 57 deletions(-)

Upstream: gitweb.dragonflybsd.org


  • Share