DragonFly- master sys/kern subr_diskmbr.c

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Jun 23 16:12:18 PDT 2009

commit 34ea800dbdcdb6e8fae3085636939170d37c78a9
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Jun 23 16:08:26 2009 -0700

    kernel diskmbr handling - Detect maxed out slice ds_size field.
    If the DOS slice field is found to be maxed out (0xFFFFFFFFU), use the
    actual media size for calculations instead of ds_size.  This allows
    disks > 2TB to have a conventional slice table and still contain a
    disklabel64 which covers the actual size of the media.

Summary of changes:
 sys/kern/subr_diskmbr.c |   18 ++++++++++++------
 1 files changed, 12 insertions(+), 6 deletions(-)


DragonFly BSD source repository

More information about the Commits mailing list