git: installer: When setting the slice type for >2TB, ignore fdisk warnings.

Sascha Wildner swildner at crater.dragonflybsd.org
Mon Aug 13 11:43:50 PDT 2012


commit a096577d7d6db4aaa199cf083e70a11e7c496267
Author: Sascha Wildner <saw at online.de>
Date:   Mon Aug 13 20:42:13 2012 +0200

    installer: When setting the slice type for >2TB, ignore fdisk warnings.
    
    With disks >2TB this step will lead to some whining from fdisk(8), but
    since we'll boot anyway (with 34ea800d, we resort to the media size
    when a maxed out slice size is detected), just ignore any issues which
    fdisk(8) reports in this case.
    
    After this commit, installing and booting from that installation on a
    disk which is >2TB will work (tested with a 3TB ahci attached drive as
    well as with a 4.5TB hptrr(4) RAID).
    
    Dragonfly-bug: <https://bugs.dragonflybsd.org/issues/2264>
    Reported-by:   ftigeot

Summary of changes:
 usr.sbin/installer/dfuibe_installer/fn_disk.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

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


-- 
DragonFly BSD source repository





More information about the Commits mailing list