Partitions>8: Increase the number of supported partitions from 8 to 16.
authorMatthew Dillon <dillon@dragonflybsd.org>
Thu, 4 Mar 2004 01:38:01 +0000 (01:38 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Thu, 4 Mar 2004 01:38:01 +0000 (01:38 +0000)
commit9e792b7ec740d5e1d12baf6365ed5748b696c39b
treebf90ab552e12d4d9b6fba46ee30708489e21fe59
parent13d8907a748aae2a3246087c222a4fe91d72ad4c
Partitions>8: Increase the number of supported partitions from 8 to 16.
Decrease the number of supported slices from 32 to 16.  Note that the
5.x boot2 code, which we adopted, was being installed just after the old
disklabel.  This commit moves the boot code install to the next logical
sector (aka 4.x) in order to accomodate the larger label.

Fix newfs to not hardcode 'h' as the last partition.

Also modify 'disklabel' to not complain about preexisting garbage past
partition #8, and to detect and refuse to overwrite the old bootcode
with the new larger label until after you have installed new boot code.
sbin/disklabel/disklabel.c
sys/amd64/include/bootinfo.h
sys/i386/include/bootinfo.h
sys/platform/pc32/include/bootinfo.h
sys/sys/disklabel.h
sys/sys/disklabel32.h
sys/sys/diskslice.h
sys/sys/odisklabel.h