]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fdisk: add new functions for work with fdisk_parttype
authorKarel Zak <kzak@redhat.com>
Tue, 25 Sep 2012 08:23:36 +0000 (10:23 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 27 Sep 2012 11:38:13 +0000 (13:38 +0200)
commit559d921edad8be1ec4e2837095b327eb9e297b7a
tree0ff49ebac62e3782401dc4de5f9f892e6dd0873e
parent7b575fcc3bea4f622d700b2ebb1b8b3fb2f1767d
fdisk: add new functions for work with fdisk_parttype

 - add flags to fdisk_parttype to store more information about the types
 - function for conversion from code to fdisk_parttype
 - function for conversion from string to fdisk_parttype
 - function for conversion from user input to fdisk_parttype
 - support for unknown complex types (e.g. unknown UUIDs)

Signed-off-by: Karel Zak <kzak@redhat.com>
fdisks/fdisk.c
fdisks/fdisk.h
fdisks/fdiskbsdlabel.c
fdisks/fdiskdoslabel.c
fdisks/fdisksgilabel.c
fdisks/fdisksunlabel.c
fdisks/utils.c