git: installer(8): Move the contents of sysids.h into <sys/diskmbr.h>.

Sascha Wildner swildner at crater.dragonflybsd.org
Sat Aug 21 07:48:18 PDT 2021


commit 2574e737794af29adabc7cc931607783cfe513ab
Author: Sascha Wildner <saw at online.de>
Date:   Sat Aug 21 16:42:36 2021 +0200

    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 at gmail.com>.
    
    Dragonfly-bug: <https://bugs.dragonflybsd.org/issues/2875>

Summary of changes:
 sbin/fdisk/fdisk.c                         |  98 +--------------------
 sys/sys/diskmbr.h                          |  97 ++++++++++++++++++++-
 usr.sbin/installer/libinstaller/diskutil.c |   9 +-
 usr.sbin/installer/libinstaller/sysids.h   | 135 -----------------------------
 4 files changed, 102 insertions(+), 237 deletions(-)
 delete mode 100644 usr.sbin/installer/libinstaller/sysids.h

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2574e737794af29adabc7cc931607783cfe513ab


-- 
DragonFly BSD source repository



More information about the Commits mailing list