DragonFly BSD
DragonFly commits List (threaded) for 2012-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: DragonFly_RELEASE_3_0 boot - Fix boot probe ordering


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 11 Aug 2012 17:13:47 -0700 (PDT)

commit e7bc212b7ad5908cf6bbc000520ead34d124d540
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Sat Aug 11 17:09:11 2012 -0700

    boot - Fix boot probe ordering
    
    * When boot loader support is compiled w/ UFS and HAMMER together, which
      is the default (note: HAMMER booting's never worked well)... the probe
      order was to check for the hammer volume header first and UFS second.
    
    * Change the probe order to check for UFS first and HAMMER second.  The
      reason is that a 'newfs' (for UFS) doesn't wipe the hammer volume header
      because the ufs's newfs tries to 'skip' the partition reserved area of
      the disk.
    
      This is a huge throwback to the original BSD fdisk/disklabel which put
      the boot code INSIDE the 'a' partition.
    
    * The DragonFly disklabel64 (which is now the default) does not have this
      problem so we could probably at some point adjust the UFS 'newfs' code to
      wipe the old 'reserve' area to really put a cap on the problem.
    
    Reported-by: tuxillo

Summary of changes:
 sys/boot/pc32/boot2/boot2.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

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


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]