]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fdisk: move partition types to label specific part
authorKarel Zak <kzak@redhat.com>
Mon, 24 Sep 2012 09:30:26 +0000 (11:30 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 27 Sep 2012 11:38:13 +0000 (13:38 +0200)
commit749af4b6095598feadc7b934afcdf2ac7450a3c9
tree1d105e9919a681c59dd04f1c70b8f8ccc627649a
parentc84ed54cefdcaa07f3d1f40a65434c9d4277da08
fdisk: move partition types to label specific part

 - move MBR partition types to dos_part_types.h
 - make dos_part_types.h independent on datetypes to keep it useful in
   all fdisks
 - add struct fdisk_parrtype
 - move label specific partition types to context->label

Signed-off-by: Karel Zak <kzak@redhat.com>
16 files changed:
fdisks/Makemodule.am
fdisks/cfdisk.c
fdisks/common.h
fdisks/dos_part_types.h [moved from fdisks/i386_sys_types.c with 97% similarity]
fdisks/fdisk.c
fdisks/fdisk.h
fdisks/fdiskaixlabel.h
fdisks/fdiskbsdlabel.c
fdisks/fdiskbsdlabel.h
fdisks/fdiskdoslabel.c
fdisks/fdiskmaclabel.h
fdisks/fdisksgilabel.c
fdisks/fdisksgilabel.h
fdisks/fdisksunlabel.c
fdisks/fdisksunlabel.h
fdisks/sfdisk.c