util-linux/libfdisk
Karel Zak f94e753b35 libfdisk: add partition type aliases and shortcuts
Now, the type shortcuts are supported for sfdisk scripts only.

Unfortunately, the current implementation is not generic enough
and it's also fragile as 'E' shortcut is in collision with 0x0E
type for MBR. The another issue is 'L' which makes shortcuts useless
for fdisk where 'L' is used for another purpose in dialogs.

This patch introduces partition type aliases as extension to
shortcuts. The definition of the shortcut is part of the label
definition and it's not more hardcoded in sfdisk script code.

This patch also introduces 'Ex' shortcut as replacement for (now
deprecated) 'E'.

Signed-off-by: Karel Zak <kzak@redhat.com>
2020-03-03 15:59:49 +01:00
..
docs libfdisk: (gpt) add functionality to move backup header 2020-02-05 14:37:41 +01:00
samples libdisk: write sample output to stdout 2019-08-30 16:05:50 +02:00
src libfdisk: add partition type aliases and shortcuts 2020-03-03 15:59:49 +01:00
COPYING docs: use SPDX license names 2018-08-16 14:47:21 +02:00
Makemodule.am libfdisk: add sample-fdisk-mkpart binary 2017-02-17 16:15:03 +01:00
fdisk.pc.in build-sys: add fdisk.pc 2014-11-26 13:20:16 +01:00