kernel - Change legacy MBR partition type from 0xA5 to 0x6C
commit794d80aa519b394b3174f20776a6a667452422db
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 12 Sep 2017 23:42:08 +0000 (12 16:42 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 12 Sep 2017 23:42:08 +0000 (12 16:42 -0700)
treebf4e7bded898cfaac924d2fb401d523935cc3d85
parent2116b623271ca2a2007fc62b40c39ed0caf42a7d
kernel - Change legacy MBR partition type from 0xA5 to 0x6C

* Should have done this years ago but finally change the legacy MBR
  partition type DragonFlyBSD uses from 0xA5 (which was shared with
  FreeBSD), to something different 0x6C.

* Makes it less confusing for Grub.

* Does not change EFI boot, which uses 16-byte UUIDs (we already have
  our own) and does not use 8-bit partition ids.

* Boot code and kernel now recognize both 0xA5 and 0x6C.  Existing users
  do *NOT* need to reinstall their boot code.
sbin/fdisk/fdisk.c
sys/boot/pc32/boot0/boot0.S
sys/boot/pc32/boot2/boot1.S
sys/boot/pc32/boot2/boot2.c
sys/boot/pc32/libi386/biosdisk.c
sys/kern/subr_disk.c
sys/kern/subr_diskmbr.c
sys/kern/subr_diskslice.c
sys/sys/diskmbr.h