git: installer: Remove a more or less arbitrary check of the swap size.

Sascha Wildner swildner at crater.dragonflybsd.org
Fri Aug 8 15:22:53 PDT 2014


commit e9a34c1fc1e608c998e67398970b409c1ac7a298
Author: Sascha Wildner <saw at online.de>
Date:   Fri Aug 8 19:15:41 2014 +0200

    installer: Remove a more or less arbitrary check of the swap size.
    
    Except for boxes which have lots of memory combined with a very very
    small disk, the installer gives a sane default for swap size by itself
    and if the user doesn't change it, all will be good.
    
    However, if the user did choose to adjust the swap size and if it was
    to below the main memory size, this check caused it not to be activated
    and no dumpdev was written to the rc.conf of the installed system.
    
    Instead of guessing around how much swap is needed to hold a dump,
    adding warnings and whatnot, just assume that anyone who tinkers with
    the offered defaults is intelligent enough to know possible
    consequences and accept their choice in any case.

Summary of changes:
 usr.sbin/installer/dfuibe_installer/fn_install.c | 3 ---
 1 file changed, 3 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list