installer: Raise the size proposal for /boot to 768M for HAMMER installs.
authorSascha Wildner <saw@online.de>
Sat, 13 Feb 2010 16:44:02 +0000 (17:44 +0100)
committerSascha Wildner <saw@online.de>
Sat, 13 Feb 2010 16:45:27 +0000 (17:45 +0100)
commitaaeebad424a5bec16330ee613d03e935c14eae8b
tree91211c17660e69bd9bbb3c869e2dec63fc85f24a
parent39990074bfbb0a2c0616ea048bbc66f51111862d
installer: Raise the size proposal for /boot to 768M for HAMMER installs.

Rewrite the algorithm for calculating size recommendations to be a bit
more flexible, especially with smaller disks (as in VMs e.g.). It should
always give a valid set now.

/boot tries to be 768M if space permits. This way several kernels and
module directories can comfortably fit on it.

Reported-by: many
While I'm here, fix another issue regarding HAMMER installs:

The check for filesystems <50GB wasn't working at all. Fix and improve it.
Instead of checking only the root filesystem, check the sizes of all HAMMER
filesystems created. If a HAMMER filesystem <50GB has been encountered,
display a warning similar to hammer_newfs(8) and allow the user to either
confirm or cancel.
usr.sbin/installer/dfuibe_installer/flow.h
usr.sbin/installer/dfuibe_installer/fn_subpart_hammer.c