You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
111 lines
5.6 KiB
111 lines
5.6 KiB
From bef54812223745e19561096283653048eae62d90 Mon Sep 17 00:00:00 2001 |
|
From: Karel Zak <kzak@redhat.com> |
|
Date: Mon, 16 Oct 2017 12:28:03 +0200 |
|
Subject: [PATCH 129/135] libfdisk: (gpt) sync type UUIDs with upstream |
|
|
|
This commit updates add types introduced by freedesktop.org, Ceph, |
|
BSD, Plan 9, QNX, Sony, Lenovo, etc. |
|
|
|
Upstream: http://github.com/karelzak/util-linux/commit/5aa8d13b13c3c8eddbd9176ef493dfa70a10616b |
|
Upstream: http://github.com/karelzak/util-linux/commit/5a1b4999f7f9d152654b4af56f73804ce9407844 |
|
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1487031 |
|
Signed-off-by: Karel Zak <kzak@redhat.com> |
|
--- |
|
libfdisk/src/gpt.c | 59 ++++++++++++++++++++++++++++++++++++++++++++++-------- |
|
1 file changed, 51 insertions(+), 8 deletions(-) |
|
|
|
diff --git a/libfdisk/src/gpt.c b/libfdisk/src/gpt.c |
|
index 612ce0971..de30b3dcb 100644 |
|
--- a/libfdisk/src/gpt.c |
|
+++ b/libfdisk/src/gpt.c |
|
@@ -157,27 +157,53 @@ static struct fdisk_parttype gpt_parttypes[] = |
|
DEF_GUID("C12A7328-F81F-11D2-BA4B-00A0C93EC93B", N_("EFI System")), |
|
|
|
DEF_GUID("024DEE41-33E7-11D3-9D69-0008C781F39F", N_("MBR partition scheme")), |
|
+ DEF_GUID("D3BFE2DE-3DAF-11DF-BA40-E3A556D89593", N_("Intel Fast Flash")), |
|
+ |
|
/* Hah!IdontneedEFI */ |
|
- DEF_GUID("21686148-6449-6E6F-744E-656564454649", N_("BIOS boot partition")), |
|
+ DEF_GUID("21686148-6449-6E6F-744E-656564454649", N_("BIOS boot")), |
|
+ |
|
+ /* NIH syndrome */ |
|
+ DEF_GUID("F4019732-066E-4E12-8273-346C5641494F", N_("Sony boot partition")), |
|
+ DEF_GUID("BFBFAFE7-A34F-448A-9A5B-6213EB736C22", N_("Lenovo boot partition")), |
|
+ |
|
+ /* PowerPC reference platform boot partition */ |
|
+ DEF_GUID("9E1A2D38-C612-4316-AA26-8B49521E5A8B", N_("PowerPC PReP boot")), |
|
+ |
|
+ /* Open Network Install Environment */ |
|
+ DEF_GUID("7412F7D5-A156-4B13-81DC-867174929325", N_("ONIE boot")), |
|
+ DEF_GUID("D4E6E2CD-4469-46F3-B5CB-1BFF57AFC149", N_("ONIE config")), |
|
|
|
/* Windows */ |
|
DEF_GUID("E3C9E316-0B5C-4DB8-817D-F92DF00215AE", N_("Microsoft reserved")), |
|
DEF_GUID("EBD0A0A2-B9E5-4433-87C0-68B6B72699C7", N_("Microsoft basic data")), |
|
DEF_GUID("5808C8AA-7E8F-42E0-85D2-E1E90434CFB3", N_("Microsoft LDM metadata")), |
|
DEF_GUID("AF9B60A0-1431-4F62-BC68-3311714A69AD", N_("Microsoft LDM data")), |
|
- DEF_GUID("DE94BBA4-06D1-4D40-A16A-BFD50179D6AC", N_("Windows recovery evironmnet")), |
|
+ DEF_GUID("DE94BBA4-06D1-4D40-A16A-BFD50179D6AC", N_("Windows recovery environment")), |
|
DEF_GUID("37AFFC90-EF7D-4E96-91C3-2D7AE055B174", N_("IBM General Parallel Fs")), |
|
+ DEF_GUID("E75CAF8F-F680-4CEE-AFA3-B001E56EFC2D", N_("Microsoft Storage Spaces")), |
|
|
|
/* HP-UX */ |
|
- DEF_GUID("75894C1E-3AEB-11D3-B7C1-7B03A0000000", N_("HP-UX data partition")), |
|
- DEF_GUID("E2A1E728-32E3-11D6-A682-7B03A0000000", N_("HP-UX service partition")), |
|
+ DEF_GUID("75894C1E-3AEB-11D3-B7C1-7B03A0000000", N_("HP-UX data")), |
|
+ DEF_GUID("E2A1E728-32E3-11D6-A682-7B03A0000000", N_("HP-UX service")), |
|
|
|
- /* Linux */ |
|
+ /* Linux (http://www.freedesktop.org/wiki/Specifications/DiscoverablePartitionsSpec) */ |
|
+ DEF_GUID("0657FD6D-A4AB-43C4-84E5-0933C84B4F4F", N_("Linux swap")), |
|
DEF_GUID("0FC63DAF-8483-4772-8E79-3D69D8477DE4", N_("Linux filesystem")), |
|
+ DEF_GUID("3B8F8425-20E0-4F3B-907F-1A25A76F98E8", N_("Linux server data")), |
|
+ DEF_GUID("44479540-F297-41B2-9AF7-D131D5F0458A", N_("Linux root (x86)")), |
|
+ DEF_GUID("69DAD710-2CE4-4E3C-B16C-21A1D49ABED3", N_("Linux root (ARM)")), |
|
+ DEF_GUID("4F68BCE3-E8CD-4DB1-96E7-FBCAF984B709", N_("Linux root (x86-64)")), |
|
+ DEF_GUID("B921B045-1DF0-41C3-AF44-4C6F280D3FAE", N_("Linux root (ARM-64)")), |
|
+ DEF_GUID("993D8D3D-F80E-4225-855A-9DAF8ED7EA97", N_("Linux root (IA-64)")), |
|
+ DEF_GUID("8DA63339-0007-60C0-C436-083AC8230908", N_("Linux reserved")), |
|
+ DEF_GUID("933AC7E1-2EB4-4F13-B844-0E14E2AEF915", N_("Linux home")), |
|
DEF_GUID("A19D880F-05FC-4D3B-A006-743F0F84911E", N_("Linux RAID")), |
|
- DEF_GUID("0657FD6D-A4AB-43C4-84E5-0933C84B4F4F", N_("Linux swap")), |
|
+ DEF_GUID("BC13C2FF-59E6-4262-A352-B275FD6F7172", N_("Linux extended boot")), |
|
DEF_GUID("E6D6D379-F507-44C2-A23C-238F2A3DF928", N_("Linux LVM")), |
|
- DEF_GUID("8DA63339-0007-60C0-C436-083AC8230908", N_("Linux reserved")), |
|
+ /* ... too crazy, ignore for now: |
|
+ DEF_GUID("7FFEC5C9-2D00-49B7-8941-3EA10A5586B7", N_("Linux plain dm-crypt")), |
|
+ DEF_GUID("CA7D7CCB-63ED-4C53-861C-1742536059CC", N_("Linux LUKS")), |
|
+ */ |
|
|
|
/* FreeBSD */ |
|
DEF_GUID("516E7CB4-6ECF-11D6-8FF8-00022D09712B", N_("FreeBSD data")), |
|
@@ -230,9 +256,26 @@ static struct fdisk_parttype gpt_parttypes[] = |
|
DEF_GUID("85D5E45A-237C-11E1-B4B3-E89A8F7FC3A7", N_("MidnightBSD data")), |
|
DEF_GUID("85D5E45E-237C-11E1-B4B3-E89A8F7FC3A7", N_("MidnightBSD boot")), |
|
DEF_GUID("85D5E45B-237C-11E1-B4B3-E89A8F7FC3A7", N_("MidnightBSD swap")), |
|
- DEF_GUID("0394Ef8B-237C-11E1-B4B3-E89A8F7FC3A7", N_("MidnightBSD UFS")), |
|
+ DEF_GUID("0394EF8B-237E-11E1-B4B3-E89A8F7FC3A7", N_("MidnightBSD UFS")), |
|
DEF_GUID("85D5E45D-237C-11E1-B4B3-E89A8F7FC3A7", N_("MidnightBSD ZFS")), |
|
DEF_GUID("85D5E45C-237C-11E1-B4B3-E89A8F7FC3A7", N_("MidnightBSD Vinum")), |
|
+ |
|
+ /* Ceph */ |
|
+ DEF_GUID("45B0969E-9B03-4F30-B4C6-B4B80CEFF106", N_("Ceph Journal")), |
|
+ DEF_GUID("45B0969E-9B03-4F30-B4C6-5EC00CEFF106", N_("Ceph Encrypted Journal")), |
|
+ DEF_GUID("4FBD7E29-9D25-41B8-AFD0-062C0CEFF05D", N_("Ceph OSD")), |
|
+ DEF_GUID("4FBD7E29-9D25-41B8-AFD0-5EC00CEFF05D", N_("Ceph crypt OSD")), |
|
+ DEF_GUID("89C57F98-2FE5-4DC0-89C1-F3AD0CEFF2BE", N_("Ceph disk in creation")), |
|
+ DEF_GUID("89C57F98-2FE5-4DC0-89C1-5EC00CEFF2BE", N_("Ceph crypt disk in creation")), |
|
+ |
|
+ /* OpenBSD */ |
|
+ DEF_GUID("824CC7A0-36A8-11E3-890A-952519AD3F61", N_("OpenBSD data")), |
|
+ |
|
+ /* QNX */ |
|
+ DEF_GUID("CEF5A9AD-73BC-4601-89F3-CDEEEEE321A1", N_("QNX6 file system")), |
|
+ |
|
+ /* Plan 9 */ |
|
+ DEF_GUID("C91818F9-8025-47AF-89D2-F030D7000C2C", N_("Plan 9 partition")) |
|
}; |
|
|
|
/* gpt_entry macros */ |
|
-- |
|
2.13.6
|
|
|