git: installer: Raise the size proposal for /boot to 768M for HAMMER installs.

Sascha Wildner swildner at crater.dragonflybsd.org
Sat Feb 13 08:50:35 PST 2010


commit aaeebad424a5bec16330ee613d03e935c14eae8b
Author: Sascha Wildner <saw at online.de>
Date:   Sat Feb 13 17:44:02 2010 +0100

    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.

Summary of changes:
 usr.sbin/installer/dfuibe_installer/flow.h         |    2 +-
 .../installer/dfuibe_installer/fn_subpart_hammer.c |   70 +++++++++++++-------
 2 files changed, 47 insertions(+), 25 deletions(-)

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


-- 
DragonFly BSD source repository





More information about the Commits mailing list