cvs commit: src/sys/sys disklabel.h disklabel64.h src/sbin Makefile src/sbin/disklabel disklabel.c src/sbin/disklabel64 Makefile crc32.c disklabel64.5 disklabel64.8 disklabel64.c pathnames.h src/sys/kern subr_disklabel32.c subr_disklabel64.c ...

Matthew Dillon dillon at
Mon Jun 18 23:46:28 PDT 2007

:how many partitions does the 64bit disklabel support?
:  simon

    Like the GPT, the offsets are specified in the label itself so there
    is theoretically no limit.  Practically speaking, however, I limited it
    to 16 and the virgin disklabel reserves only enough space for 32 before
    the partition table hits the boot2 area.

    16 seems to be plenty, especially since we have GPT support too.  That's
    like 128 * 16 = 2048 independantly addressable areas per disk.

    I am not going to promise boot support, but there's a chance it will
    happen.  I have to modify the GPT code to create an apple-style PMBR
    and label, and I have to write three different boot binaries (boot0,
    boot1, and boot2) to support them all.  I don't know if I can do all
    that by the release date (which is the middle of July).  I very carefully
    designed the 64 bit disklabel to make it possible.


More information about the Commits mailing list