installer(8): Move the contents of sysids.h into <sys/diskmbr.h>.
authorSascha Wildner <saw@online.de>
Sat, 21 Aug 2021 14:42:36 +0000 (16:42 +0200)
committerSascha Wildner <saw@online.de>
Sat, 21 Aug 2021 14:47:51 +0000 (16:47 +0200)
commit2574e737794af29adabc7cc931607783cfe513ab
treecdcd72065ae5c2da5ffca3d72fbf98f68853d841
parentd1f64577d2715e53100c6bdefe40ea39b5dce44e
installer(8): Move the contents of sysids.h into <sys/diskmbr.h>.

It is needed by both fdisk(8) and the installer.

<sys/diskmbr.h> seems reasonable because it already has defines for
various partition types. Use them in the struct. Adjust the naming of
the structure and the array to match the rest of <sys/diskmbr.h>.

Based on a patch by Alexander Kuleshov <kuleshovmail@gmail.com>.

Dragonfly-bug: <https://bugs.dragonflybsd.org/issues/2875>
sbin/fdisk/fdisk.c
sys/sys/diskmbr.h
usr.sbin/installer/libinstaller/diskutil.c
usr.sbin/installer/libinstaller/sysids.h [deleted file]