ReactOS 0.4.16-dev-320-g3bd9ddc
partinfo.c
Go to the documentation of this file.
1/*
2 * PROJECT: ReactOS Setup Library
3 * LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
4 * PURPOSE: MBR and GPT Partition types
5 * COPYRIGHT: Copyright 2018-2020 Hermes Belusca-Maito
6 */
7
8#include "precomp.h"
9#include "partinfo.h"
10
11/* MBR PARTITION TYPES ******************************************************/
12
13/*
14 * This partition type list is based from:
15 * - the kernelDisk.c module of the Visopsys Operating System (see license below),
16 * - Paragon Hard-Disk Manager,
17 * - Haiku OS (Copyright 2003-2011, Haiku, Inc., under the terms of the MIT License)
18 * https://git.haiku-os.org/haiku/tree/src/add-ons/kernel/partitioning_systems/intel/PartitionMap.cpp#n52
19 * - and the following websites:
20 * http://www.win.tue.nl/~aeb/partitions/partition_types-1.html
21 * https://en.wikipedia.org/wiki/Partition_type#List_of_partition_IDs
22 * https://www.magnumdb.com/search?q=PARTITION_*
23 */
24/*
25 * kernelDisk.c
26 *
27 * Visopsys Operating System
28 * Copyright (C) 1998-2020 J. Andrew McLaughlin
29 *
30 * This program is free software; you can redistribute it and/or modify it
31 * under the terms of the GNU General Public License as published by the Free
32 * Software Foundation; either version 2 of the License, or (at your option)
33 * any later version.
34 *
35 * This program is distributed in the hope that it will be useful, but
36 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
37 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
38 * for more details.
39 *
40 * You should have received a copy of the GNU General Public License along
41 * with this program; if not, write to the Free Software Foundation, Inc.,
42 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
43 */
44
45/* Known MBR partition type codes and descriptions */
47{
48 { 0x00, "(Empty)" }, // PARTITION_ENTRY_UNUSED
49 { 0x01, "FAT12" }, // PARTITION_FAT_12
50 { 0x02, "XENIX root" }, // PARTITION_XENIX_1 - "XENIX Type 1"
51 { 0x03, "XENIX /usr" }, // PARTITION_XENIX_2 - "XENIX Type 2"
52 { 0x04, "FAT16 (< 32 MB)" }, // PARTITION_FAT_16
53 { 0x05, "Extended" }, // PARTITION_EXTENDED - "Extended partition MS-DOS V4"
54 { 0x06, "FAT16" }, // PARTITION_HUGE - "Huge partition MS-DOS V4"
55 { 0x07, "NTFS/HPFS/exFAT" }, // PARTITION_IFS
56 { 0x08, "OS/2 or AIX boot partition" },
57 { 0x09, "AIX data partition" },
58 { 0x0A, "OS/2 Boot Manager" }, // PARTITION_OS2BOOTMGR - "OS/2 Boot Manager/OPUS/Coherent swap"
59 { 0x0B, "FAT32" }, // PARTITION_FAT32
60 { 0x0C, "FAT32 (LBA)" }, // PARTITION_FAT32_XINT13
61 { 0x0E, "FAT16 (LBA)" }, // PARTITION_XINT13
62 { 0x0F, "Extended (LBA)" }, // PARTITION_XINT13_EXTENDED
63 { 0x10, "OPUS" },
64 { 0x11, "Hidden FAT12" },
65 { 0x12, "FAT diagnostic (Compaq)" }, // PARTITION_EISA - "EISA partition"
66 { 0x13, "BTRON" },
67 { 0x14, "Hidden FAT16 (< 32 MB)" },
68 { 0x16, "Hidden FAT16" },
69 { 0x17, "Hidden NTFS/HPFS" },
70 { 0x18, "AST SmartSleep" },
71 { 0x1B, "Hidden FAT32" },
72 { 0x1C, "Hidden FAT32 (LBA)" },
73 { 0x1E, "Hidden FAT16 (LBA)" },
74 { 0x24, "NEC DOS 3.x" },
75 { 0x27, "Microsoft Recovery partition" }, // PARTITION_MSFT_RECOVERY - "Microsoft recovery partition"
76 { 0x28, "Main OS partition" }, // PARTITION_MAIN_OS - "Main OS partition"
77 { 0x29, "OS Data partition" }, // PARTIITON_OS_DATA - "OS data partition"
78 { 0x2A, "AtheOS File System (AFS)" }, // PARTITION_PRE_INSTALLED - "PreInstalled partition"
79 { 0x2B, "SyllableSecure (SylStor)" }, // PARTITION_BSP - "BSP partition"
80 { 0x2C, "DPP partition" }, // PARTITION_DPP - "DPP partition"
81 { 0x2D, "Windows System partition" }, // PARTITION_WINDOWS_SYSTEM - "Windows system partition"
82 { 0x32, "NOS" },
83 { 0x35, "JFS on OS/2 or eCS" },
84 { 0x38, "THEOS v3.2 2GB partition" },
85 { 0x39, "Plan 9" },
86 { 0x3A, "THEOS v4 4GB partition" },
87 { 0x3B, "THEOS v4 extended partition" },
88 { 0x3C, "PartitionMagic recovery partition" },
89 { 0x3D, "Hidden NetWare" },
90 { 0x40, "Venix 80286 or Lynx" },
91 { 0x41, "PowerPC PReP boot" }, // PARTITION_PREP - "PowerPC Reference Platform (PReP) Boot Partition"
92 { 0x42, "Win2K Dynamic Volume extended" }, // PARTITION_LDM - "Logical Disk Manager partition"
93 { 0x43, "Old Linux" },
94 { 0x44, "GoBack" },
95 { 0x45, "Priam or Boot-US Boot Manager" },
96 { 0x4D, "QNX4.x" },
97 { 0x4E, "QNX4.x 2nd partition" },
98 { 0x4F, "QNX4.x 3rd partition" },
99 { 0x50, "OnTrack Disk Manager R/O" },
100 { 0x51, "OnTrack Disk Manager R/W or Novell" },
101 { 0x52, "CP/M" },
102 { 0x53, "OnTrack DM6 Aux3" },
103 { 0x54, "OnTrack DM6 Dynamic Drive Overlay" }, // PARTITION_DM - "OnTrack Disk Manager partition"
104 { 0x55, "EZ-Drive" }, // PARTITION_EZDRIVE - "EZ-Drive partition"
105 { 0x56, "Golden Bow VFeature Partitioned Volume" },
106 { 0x5C, "Priam EDisk" },
107 { 0x61, "SpeedStor" },
108 { 0x62, "Pick" },
109 { 0x63, "GNU HURD or Unix System V (SCO, ISC Unix, UnixWare)" }, // PARTITION_UNIX
110 { 0x64, "Novell NetWare 286, 2.xx" },
111 { 0x65, "Novell NetWare 386, 3.xx or 4.xx" },
112 { 0x66, "Novell NetWare SMS partition" },
113 { 0x67, "Novell" },
114 { 0x68, "Novell" },
115 { 0x69, "Novell NetWare 5+" },
116 { 0x70, "DiskSecure Multi-Boot" },
117 { 0x75, "IBM PC/IX" },
118 { 0x78, "XOSL boot loader" },
119 { 0x7E, "Veritas VxVM public" },
120 { 0x7F, "Veritas VxVM private" },
121 { 0x80, "Old MINIX" },
122 { 0x81, "Linux or MINIX" },
123 { 0x82, "Linux swap or Solaris" },
124 { 0x83, "Linux Native" },
125 { 0x84, "Hibernate" }, // PARTITION_HIBERNATION - "Hibernation partition for laptops"
126 { 0x85, "Linux Extended" },
127 { 0x86, "FAT16 mirrored" },
128 { 0x87, "NTFS/HPFS mirrored" },
129 { 0x88, "Linux plaintext partition table" },
130 { 0x8B, "FAT32 mirrored" },
131 { 0x8C, "FAT32 (LBA) mirrored" },
132 { 0x8E, "Linux LVM" },
133 { 0x93, "Hidden Linux or Amoeba" },
134 { 0x94, "Amoeba Bad Block Table" },
135 { 0x96, "CDFS/ISO-9660" },
136 { 0x9F, "BSD/OS" },
137 { 0xA0, "Laptop Hibernate" }, // PARTITION_DIAGNOSTIC - "Diagnostic partition on some HP notebooks"
138 { 0xA1, "Laptop Hibernate (NEC 6000H)" },
139 { 0xA5, "BSD, NetBSD, FreeBSD" },
140 { 0xA6, "OpenBSD" },
141 { 0xA7, "NeXTStep" },
142 { 0xA8, "Darwin UFS" }, // Also known as "MacOS-X"
143 { 0xA9, "NetBSD" },
144 { 0xAB, "Darwin boot" },
145 { 0xAF, "Apple HFS/HFS+" },
146 { 0xB1, "QNX6.x" },
147 { 0xB2, "QNX6.x" },
148 { 0xB3, "QNX6.x" },
149 { 0xB6, "NT FAT16 corrupt mirror" },
150 { 0xB7, "BSDI BSD/386 FS" }, // Alternatively, "NT NTFS corrupt mirror"
151 { 0xB8, "BSDI BSD/386 swap" },
152 { 0xBB, "Boot Wizard hidden" },
153 { 0xBC, "Paragon Backup capsule" },
154 { 0xBE, "Solaris 8 boot partition" },
155 { 0xBF, "Solaris 10 x86" },
156 { 0xC0, "NTFT" }, // Alternatively, "CTOS" or "REAL/32 or DR-DOS or Novell-DOS secure partition"
157 { 0xC1, "DR-DOS FAT12" },
158 { 0xC2, "Hidden Linux" },
159 { 0xC3, "Hidden Linux swap" },
160 { 0xC4, "DR-DOS FAT16 (< 32 MB)" },
161 { 0xC5, "DR-DOS Extended" },
162 { 0xC6, "DR-DOS FAT16" },
163 { 0xC7, "HPFS mirrored" }, // Alternatively, "Syrinx boot"
164 { 0xCB, "DR-DOS FAT32" },
165 { 0xCC, "DR-DOS FAT32 (LBA)" },
166 { 0xCE, "DR-DOS FAT16 (LBA)" },
167 { 0xD0, "MDOS" },
168 { 0xD1, "MDOS FAT12" },
169 { 0xD4, "MDOS FAT16 (< 32 MB)" },
170 { 0xD5, "MDOS Extended" },
171 { 0xD6, "MDOS FAT16" },
172 { 0xD7, "Microsoft Storage Spaces Data" }, // PARTITION_SPACES_DATA - "Storage Spaces protective partition"
173 { 0xD8, "CP/M-86" },
174 { 0xDB, "Digital Research CP/M" },
175 { 0xDE, "Dell OEM" }, // PARTITION_DELL - "Dell partition"
176 { 0xDF, "BootIt EMBRM (FAT16/32)" },
177 { 0xE1, "SpeedStor FAT12" },
178 { 0xE3, "SpeedStor (0xE3)" },
179 { 0xE4, "SpeedStor FAT16" },
180 { 0xE5, "Tandy MSDOS" },
181 { 0xE6, "SpeedStor (0xE6)" },
182 { 0xE7, "Microsoft Storage Spaces Protective" }, // PARTITION_SPACES - "Storage Spaces protective partition"
183 { 0xE8, "Linux Unified Key Setup partition" },
184 { 0xEA, "Rufus private partition" },
185 { 0xEB, "BeOS/Haiku BFS" },
186 { 0xEC, "SkyOS SkyFS" },
187 { 0xEE, "EFI GPT protective" }, // PARTITION_GPT - "GPT protective partition"
188 { 0xEF, "EFI System partition" }, // PARTITION_SYSTEM - "System partition"
189 { 0xF0, "Linux/PA-RISC boot loader" },
190 { 0xF1, "SpeedStor (0xF1)" },
191 { 0xF2, "DOS 3.3+ second" },
192 { 0xF4, "SpeedStor (0xF4)" },
193 { 0xF5, "SpeedStor (0xF5)" },
194 { 0xF6, "SpeedStor (0xF6)" },
195 { 0xFA, "Bochs" },
196 { 0xFB, "VMware FS" },
197 { 0xFC, "VMware swap/VMKCORE" },
198 { 0xFD, "Linux RAID auto" },
199 { 0xFE, "NT hidden or IBM PS/2 IML or Veritas VM" }, // PARTITION_IBM - "IBM IML partition"
200 { 0xFF, "XENIX Bad Block Table or Veritas VM" },
201};
202
203
204/* GPT PARTITION TYPES ******************************************************/
205
206#define GUID_CONST(l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
207 { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
208
209#if 0
210//
211// NOTE: For information only: The uncommented GUIDs below
212// are new ones defined in diskguid.h in Windows 10.
213//
214
215/* Partition GUIDs */
216#include <initguid.h>
217#include <diskguid.h>
218
219/*
220 * EFI specification
221 */
222// DEFINE_GUID(PARTITION_ENTRY_UNUSED_GUID, 0x00000000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00); // Entry unused
223// DEFINE_GUID(PARTITION_SYSTEM_GUID, 0xC12A7328, 0xF81F, 0x11D2, 0xBA, 0x4B, 0x00, 0xA0, 0xC9, 0x3E, 0xC9, 0x3B); // EFI system partition
224DEFINE_GUID(PARTITION_LEGACYMBR_GUID, 0x024DEE41, 0x33E7, 0x11D3, 0x9D, 0x69, 0x00, 0x08, 0xC7, 0x81, 0xF3, 0x9F);
225
226/*
227 * Microsoft Windows / ReactOS
228 */
229// DEFINE_GUID(PARTITION_BASIC_DATA_GUID, 0xEBD0A0A2, 0xB9E5, 0x4433, 0x87, 0xC0, 0x68, 0xB6, 0xB7, 0x26, 0x99, 0xC7); // Basic data partition
230DEFINE_GUID(PARTITION_MAIN_OS_GUID, 0x57434F53, 0x8F45, 0x405E, 0x8A, 0x23, 0x18, 0x6D, 0x8A, 0x43, 0x30, 0xD3); // Main OS partition
231DEFINE_GUID(PARTITION_OS_DATA_GUID, 0x57434F53, 0x23F2, 0x44D5, 0xA8, 0x30, 0x67, 0xBB, 0xDA, 0xA6, 0x09, 0xF9); // OS data partition
232DEFINE_GUID(PARTITION_LEGACY_BL_GUID, 0x424CA0E2, 0x7CB2, 0x4FB9, 0x81, 0x43, 0xC5, 0x2A, 0x99, 0x39, 0x8B, 0xC6); // Legacy boot loader partition
233DEFINE_GUID(PARTITION_LEGACY_BL_GUID_BACKUP, 0x424C3E6C, 0xD79F, 0x49CB, 0x93, 0x5D, 0x36, 0xD7, 0x14, 0x67, 0xA2, 0x88); // Legacy boot loader backup partition
235// DEFINE_GUID(PARTITION_LDM_METADATA_GUID, 0x5808C8AA, 0x7E8F, 0x42E0, 0x85, 0xD2, 0xE1, 0xE9, 0x04, 0x34, 0xCF, 0xB3); // Logical Disk Manager metadata partition
236// DEFINE_GUID(PARTITION_LDM_DATA_GUID, 0xAF9B60A0, 0x1431, 0x4F62, 0xBC, 0x68, 0x33, 0x11, 0x71, 0x4A, 0x69, 0xAD); // Logical Disk Manager data partition
237// DEFINE_GUID(PARTITION_MSFT_RESERVED_GUID, 0xE3C9E316, 0x0B5C, 0x4DB8, 0x81, 0x7D, 0xF9, 0x2D, 0xF0, 0x02, 0x15, 0xAE); // Microsoft reserved space
238DEFINE_GUID(PARTITION_MSFT_RECOVERY_GUID, 0xDE94BBA4, 0x06D1, 0x4D40, 0xA1, 0x6A, 0xBF, 0xD5, 0x01, 0x79, 0xD6, 0xAC); // Microsoft recovery partition
239DEFINE_GUID(PARTITION_MSFT_SNAPSHOT_GUID, 0xCADDEBF1, 0x4400, 0x4DE8, 0xB1, 0x03, 0x12, 0x11, 0x7D, 0xCF, 0x3C, 0xCF); // Microsoft shadow copy partition
240DEFINE_GUID(PARTITION_CLUSTER_GUID, 0xDB97DBA9, 0x0840, 0x4BAE, 0x97, 0xF0, 0xFF, 0xB9, 0xA3, 0x27, 0xC7, 0xE1); // Cluster metadata partition
242DEFINE_GUID(PARTITION_SPACES_GUID, 0xE75CAF8F, 0xF680, 0x4CEE, 0xAF, 0xA3, 0xB0, 0x01, 0xE5, 0x6E, 0xFC, 0x2D); // Storage Spaces protective partition
243DEFINE_GUID(PARTITION_SPACES_DATA_GUID, 0xE7ADDCB4, 0xDC34, 0x4539, 0x9A, 0x76, 0xEB, 0xBD, 0x07, 0xBE, 0x6F, 0x7E); // Storage Spaces protective partition
244DEFINE_GUID(PARTITION_STORAGE_REPLICA_GUID, 0x558D43C5, 0xA1AC, 0x43C0, 0xAA, 0xC8, 0xD1, 0x47, 0x2B, 0x29, 0x23, 0xD1);
245DEFINE_GUID(PARTITION_PATCH_GUID, 0x8967A686, 0x96AA, 0x6AA8, 0x95, 0x89, 0xA8, 0x42, 0x56, 0x54, 0x10, 0x90); // Patch partition
246DEFINE_GUID(PARTITION_PRE_INSTALLED_GUID, 0x57434F53, 0x7FE0, 0x4196, 0x9B, 0x42, 0x42, 0x7B, 0x51, 0x64, 0x34, 0x84); // PreInstalled partition
247DEFINE_GUID(PARTITION_WINDOWS_SYSTEM_GUID, 0x57434F53, 0xE3E3, 0x4631, 0xA5, 0xC5, 0x26, 0xD2, 0x24, 0x38, 0x73, 0xAA); // Windows system partition
249DEFINE_GUID(PARTITION_BSP_GUID, 0x57434F53, 0x4DF9, 0x45B9, 0x8E, 0x9E, 0x23, 0x70, 0xF0, 0x06, 0x45, 0x7C); // BSP partition
250DEFINE_GUID(PARTITION_DPP_GUID, 0x57434F53, 0x94CB, 0x43F0, 0xA5, 0x33, 0xD7, 0x3C, 0x10, 0xCF, 0xA5, 0x7D); // Device provisioning (DPP) partition
251
252#endif
253
254/*
255 * This partition type GUIDs list is based from:
256 * - the kernelDisk.c and gpt.h modules of the Visopsys Operating System
257 * (see license above),
258 * - NetBSD (Copyright (c) 2002 Marcel Moolenaar),
259 * http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/sys/sys/disklabel_gpt.h?rev=1.14&content-type=text/plain&only_with_tag=MAIN
260 * - Haiku OS (Copyright 2003-2011, Haiku, Inc., under the terms of the MIT License)
261 * https://git.haiku-os.org/haiku/tree/src/add-ons/kernel/partitioning_systems/gpt/gpt_known_guids.h#n56
262 * - and the following websites:
263 * https://www.liquisearch.com/guid_partition_table/partition_type_guids
264 * https://en.wikipedia.org/wiki/GUID_Partition_Table#Partition_type_GUIDs
265 * https://www.freedesktop.org/wiki/Specifications/DiscoverablePartitionsSpec/
266 * https://systemd.io/DISCOVERABLE_PARTITIONS/
267 * https://www.magnumdb.com/search?q=PARTITION_*
268 */
269
270/* Known GPT partition type GUIDs and descriptions */
272{
273 /*
274 * EFI specification
275 */
276 { // PARTITION_ENTRY_UNUSED_GUID,
277 GUID_CONST(0x00000000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00),
278 "Unused partition" }, // "Unused entry"
279 { // PARTITION_SYSTEM_GUID,
280 GUID_CONST(0xC12A7328, 0xF81F, 0x11D2, 0xBA, 0x4B, 0x00, 0xA0, 0xC9, 0x3E, 0xC9, 0x3B),
281 "EFI/GPT System Partition" }, // "GPT Free Block"
282 { // PARTITION_LEGACYMBR_GUID,
283 GUID_CONST(0x024DEE41, 0x33E7, 0x11D3, 0x9D, 0x69, 0x00, 0x08, 0xC7, 0x81, 0xF3, 0x9F),
284 "Legacy Master Boot Record Partition" },
285
286 /*
287 * Various
288 */
289 // GRUB 2 - "Hah!IdontNeedEFI"
290 { GUID_CONST(0x21686148, 0x6449, 0x6E6F, 0x74, 0x4E, 0x65, 0x65, 0x64, 0x45, 0x46, 0x49),
291 "GRUB 2 BIOS Boot partition" },
292 // Intel Fast Flash (iFFS) partition (for Intel Rapid Start technology)
293 { GUID_CONST(0xD3BFE2DE, 0x3DAF, 0x11DF, 0xBA, 0x40, 0xE3, 0xA5, 0x56, 0xD8, 0x95, 0x93),
294 "Intel Fast Flash (iFFS) partition" },
295 { GUID_CONST(0xF4019732, 0x066E, 0x4E12, 0x82, 0x73, 0x34, 0x6C, 0x56, 0x41, 0x49, 0x4F),
296 "Sony boot partition" },
297 { GUID_CONST(0xBFBFAFE7, 0xA34F, 0x448A, 0x9A, 0x5B, 0x62, 0x13, 0xEB, 0x73, 0x6C, 0x22),
298 "Lenovo boot partition" },
299
300 /*
301 * Microsoft Windows / ReactOS
302 */
303 { // PARTITION_BASIC_DATA_GUID,
304 GUID_CONST(0xEBD0A0A2, 0xB9E5, 0x4433, 0x87, 0xC0, 0x68, 0xB6, 0xB7, 0x26, 0x99, 0xC7),
305 "Microsoft Basic Data partition" },
306 { // PARTITION_MAIN_OS_GUID,
307 GUID_CONST(0x57434F53, 0x8F45, 0x405E, 0x8A, 0x23, 0x18, 0x6D, 0x8A, 0x43, 0x30, 0xD3),
308 "Main OS partition" },
309 { // PARTITION_OS_DATA_GUID,
310 GUID_CONST(0x57434F53, 0x23F2, 0x44D5, 0xA8, 0x30, 0x67, 0xBB, 0xDA, 0xA6, 0x09, 0xF9),
311 "OS Data partition" },
312 { // PARTITION_LEGACY_BL_GUID,
313 GUID_CONST(0x424CA0E2, 0x7CB2, 0x4FB9, 0x81, 0x43, 0xC5, 0x2A, 0x99, 0x39, 0x8B, 0xC6),
314 "Microsoft Legacy Boot Loader partition" },
315 { // PARTITION_LEGACY_BL_GUID_BACKUP,
316 GUID_CONST(0x424C3E6C, 0xD79F, 0x49CB, 0x93, 0x5D, 0x36, 0xD7, 0x14, 0x67, 0xA2, 0x88),
317 "Microsoft Legacy Boot Loader backup partition" },
318 { // PARTITION_LDM_METADATA_GUID,
319 GUID_CONST(0x5808C8AA, 0x7E8F, 0x42E0, 0x85, 0xD2, 0xE1, 0xE9, 0x04, 0x34, 0xCF, 0xB3),
320 "Microsoft LDM MetaData partition" },
321 { // PARTITION_LDM_DATA_GUID,
322 GUID_CONST(0xAF9B60A0, 0x1431, 0x4F62, 0xBC, 0x68, 0x33, 0x11, 0x71, 0x4A, 0x69, 0xAD),
323 "Microsoft LDM Data partition" },
324 { // PARTITION_MSFT_RESERVED_GUID,
325 GUID_CONST(0xE3C9E316, 0x0B5C, 0x4DB8, 0x81, 0x7D, 0xF9, 0x2D, 0xF0, 0x02, 0x15, 0xAE),
326 "Microsoft Reserved partition" },
327 { // PARTITION_MSFT_RECOVERY_GUID,
328 GUID_CONST(0xDE94BBA4, 0x06D1, 0x4D40, 0xA1, 0x6A, 0xBF, 0xD5, 0x01, 0x79, 0xD6, 0xAC),
329 "Microsoft Recovery partition" },
330 { // PARTITION_MSFT_SNAPSHOT_GUID,
331 GUID_CONST(0xCADDEBF1, 0x4400, 0x4DE8, 0xB1, 0x03, 0x12, 0x11, 0x7D, 0xCF, 0x3C, 0xCF),
332 "Microsoft Shadow Copy partition" },
333 { // PARTITION_CLUSTER_GUID,
334 GUID_CONST(0xDB97DBA9, 0x0840, 0x4BAE, 0x97, 0xF0, 0xFF, 0xB9, 0xA3, 0x27, 0xC7, 0xE1),
335 "Microsoft Cluster MetaData partition" },
336 { // PARTITION_SPACES_GUID,
337 GUID_CONST(0xE75CAF8F, 0xF680, 0x4CEE, 0xAF, 0xA3, 0xB0, 0x01, 0xE5, 0x6E, 0xFC, 0x2D),
338 "Microsoft Storage Spaces partition" },
339 { // PARTITION_SPACES_DATA_GUID,
340 GUID_CONST(0xE7ADDCB4, 0xDC34, 0x4539, 0x9A, 0x76, 0xEB, 0xBD, 0x07, 0xBE, 0x6F, 0x7E),
341 "Microsoft Storage Spaces Data" },
342 { // PARTITION_STORAGE_REPLICA_GUID,
343 GUID_CONST(0x558D43C5, 0xA1AC, 0x43C0, 0xAA, 0xC8, 0xD1, 0x47, 0x2B, 0x29, 0x23, 0xD1),
344 "Microsoft Storage Replica partition" },
345 { // PARTITION_PATCH_GUID,
346 GUID_CONST(0x8967A686, 0x96AA, 0x6AA8, 0x95, 0x89, 0xA8, 0x42, 0x56, 0x54, 0x10, 0x90),
347 "Microsoft Patch partition" },
348 { // PARTITION_PRE_INSTALLED_GUID,
349 GUID_CONST(0x57434F53, 0x7FE0, 0x4196, 0x9B, 0x42, 0x42, 0x7B, 0x51, 0x64, 0x34, 0x84),
350 "Microsoft PreInstalled partition" },
351 { // PARTITION_WINDOWS_SYSTEM_GUID,
352 GUID_CONST(0x57434F53, 0xE3E3, 0x4631, 0xA5, 0xC5, 0x26, 0xD2, 0x24, 0x38, 0x73, 0xAA),
353 "Windows System partition" },
354 { // PARTITION_BSP_GUID,
355 GUID_CONST(0x57434F53, 0x4DF9, 0x45B9, 0x8E, 0x9E, 0x23, 0x70, 0xF0, 0x06, 0x45, 0x7C),
356 "BSP partition" },
357 { // PARTITION_DPP_GUID,
358 GUID_CONST(0x57434F53, 0x94CB, 0x43F0, 0xA5, 0x33, 0xD7, 0x3C, 0x10, 0xCF, 0xA5, 0x7D),
359 "Device provisioning (DPP) partition" },
360
361 /*
362 * IBM
363 */
364 // "IBM General Parallel File System (GPFS) partition"
365 { GUID_CONST(0x37AFFC90, 0xEF7D, 0x4E96, 0x91, 0xC3, 0x2D, 0x7A, 0xE0, 0x55, 0xB1, 0x74),
366 "IBM GPFS" },
367 { GUID_CONST(0x9E1A2D38, 0xC612, 0x4316, 0xAA, 0x26, 0x8B, 0x49, 0x52, 0x1E, 0x5A, 0x8B),
368 "IBM PowerPC PReP boot" },
369
370 /*
371 * HP-UX
372 */
373 { GUID_CONST(0x75894C1E, 0x3AEB, 0x11D3, 0xB7, 0xC1, 0x7B, 0x03, 0xA0, 0x00, 0x00, 0x00),
374 "HP-UX Data partition" },
375 { GUID_CONST(0xE2A1E728, 0x32E3, 0x11D6, 0xA6, 0x82, 0x7B, 0x03, 0xA0, 0x00, 0x00, 0x00),
376 "HP-UX Service partition" },
377
378 /*
379 * freedesktop.org / systemd
380 */
381 /* Root partitions */
382 { GUID_CONST(0x44479540, 0xF297, 0x41B2, 0x9A, 0xF7, 0xD1, 0x31, 0xD5, 0xF0, 0x45, 0x8A),
383 "Freedesktop Root partition (x86)" },
384 { GUID_CONST(0x4F68BCE3, 0xE8CD, 0x4DB1, 0x96, 0xE7, 0xFB, 0xCA, 0xF9, 0x84, 0xB7, 0x09),
385 "Freedesktop Root partition (x86-64)" },
386 { GUID_CONST(0x69DAD710, 0x2CE4, 0x4E3C, 0xB1, 0x6C, 0x21, 0xA1, 0xD4, 0x9A, 0xBE, 0xD3),
387 "Freedesktop Root partition (32-bit ARM)" },
388 { GUID_CONST(0xB921B045, 0x1DF0, 0x41C3, 0xAF, 0x44, 0x4C, 0x6F, 0x28, 0x0D, 0x3F, 0xAE),
389 "Freedesktop Root partition (64-bit ARM/AArch64)" },
390 { GUID_CONST(0x993D8D3D, 0xF80E, 0x4225, 0x85, 0x5A, 0x9D, 0xAF, 0x8E, 0xD7, 0xEA, 0x97),
391 "Freedesktop Root partition (IA64)" },
392 /* Root dm-verity partitions */
393 { GUID_CONST(0xD13C5D3B, 0xB5D1, 0x422A, 0xB2, 0x9F, 0x94, 0x54, 0xFD, 0xC8, 0x9D, 0x76),
394 "Freedesktop Root verity partition (x86)" },
395 { GUID_CONST(0x2C7357ED, 0xEBD2, 0x46D9, 0xAE, 0xC1, 0x23, 0xD4, 0x37, 0xEC, 0x2B, 0xF5),
396 "Freedesktop Root verity partition (x86-64)" },
397 { GUID_CONST(0x7386CDF2, 0x203C, 0x47A9, 0xA4, 0x98, 0xF2, 0xEC, 0xCE, 0x45, 0xA2, 0xD6),
398 "Freedesktop Root verity partition (32-bit ARM)" },
399 { GUID_CONST(0xDF3300CE, 0xD69F, 0x4C92, 0x97, 0x8C, 0x9B, 0xFB, 0x0F, 0x38, 0xD8, 0x20),
400 "Freedesktop Root verity partition (64-bit ARM/AArch64)" },
401 { GUID_CONST(0x86ED10D5, 0xB607, 0x45BB, 0x89, 0x57, 0xD3, 0x50, 0xF2, 0x3D, 0x05, 0x71),
402 "Freedesktop Root verity partition (IA64)" },
403 /* User partitions */
404 { GUID_CONST(0x75250D76, 0x8CC6, 0x458E, 0xBD, 0x66, 0xBD, 0x47, 0xCC, 0x81, 0xA8, 0x12),
405 "Freedesktop /usr partition (x86)" },
406 { GUID_CONST(0x8484680C, 0x9521, 0x48C6, 0x9C, 0x11, 0xB0, 0x72, 0x06, 0x56, 0xF6, 0x9E),
407 "Freedesktop /usr partition (x86-64)" },
408 { GUID_CONST(0x7D0359A3, 0x02B3, 0x4F0A, 0x86, 0x5C, 0x65, 0x44, 0x03, 0xE7, 0x06, 0x25),
409 "Freedesktop /usr partition (32-bit ARM)" },
410 { GUID_CONST(0xB0E01050, 0xEE5F, 0x4390, 0x94, 0x9A, 0x91, 0x01, 0xB1, 0x71, 0x04, 0xE9),
411 "Freedesktop /usr partition (64-bit ARM/AArch64)" },
412 { GUID_CONST(0x4301D2A6, 0x4E3B, 0x4B2A, 0xBB, 0x94, 0x9E, 0x0B, 0x2C, 0x42, 0x25, 0xEA),
413 "Freedesktop /usr partition (IA64)" },
414 /* User dm-verity partitions */
415 { GUID_CONST(0x8F461B0D, 0x14EE, 0x4E81, 0x9A, 0xA9, 0x04, 0x9B, 0x6F, 0xB9, 0x7A, 0xBD),
416 "Freedesktop /usr verity partition (x86)" },
417 { GUID_CONST(0x77FF5F63, 0xE7B6, 0x4633, 0xAC, 0xF4, 0x15, 0x65, 0xB8, 0x64, 0xC0, 0xE6),
418 "Freedesktop /usr verity partition (x86-64)" },
419 { GUID_CONST(0xC215D751, 0x7BCD, 0x4649, 0xBE, 0x90, 0x66, 0x27, 0x49, 0x0A, 0x4C, 0x05),
420 "Freedesktop /usr verity partition (32-bit ARM)" },
421 { GUID_CONST(0x6E11A4E7, 0xFBCA, 0x4DED, 0xB9, 0xE9, 0xE1, 0xA5, 0x12, 0xBB, 0x66, 0x4E),
422 "Freedesktop /usr verity partition (64-bit ARM/AArch64)" },
423 { GUID_CONST(0x6A491E03, 0x3BE7, 0x4545, 0x8E, 0x38, 0x83, 0x32, 0x0E, 0x0E, 0xA8, 0x80),
424 "Freedesktop /usr verity partition (IA64)" },
425 /* Native */
426 { GUID_CONST(0x933AC7E1, 0x2EB4, 0x4F13, 0xB8, 0x44, 0x0E, 0x14, 0xE2, 0xAE, 0xF9, 0x15),
427 "Freedesktop /home partition" },
428 { GUID_CONST(0x3B8F8425, 0x20E0, 0x4F3B, 0x90, 0x7F, 0x1A, 0x25, 0xA7, 0x6F, 0x98, 0xE8),
429 "Freedesktop /srv (server data) partition" },
430 /* Variable data */
431 { GUID_CONST(0x4D21B016, 0xB534, 0x45C2, 0xA9, 0xFB, 0x5C, 0x16, 0xE0, 0x91, 0xFD, 0x2D),
432 "Freedesktop /var partition" },
433 { GUID_CONST(0x7EC6F557, 0x3BC5, 0x4ACA, 0xB2, 0x93, 0x16, 0xEF, 0x5D, 0xF6, 0x39, 0xD1),
434 "Freedesktop /var/tmp partition" },
435 /* Boot partition */
436 // "Extended Boot Loader Partition" / "Shared boot loader configuration"
437 { GUID_CONST(0xBC13C2FF, 0x59E6, 0x4262, 0xA3, 0x52, 0xB2, 0x75, 0xFD, 0x6F, 0x71, 0x72),
438 "Freedesktop /boot partition" },
439
440 /*
441 * Linux
442 */
443 { GUID_CONST(0x0FC63DAF, 0x8483, 0x4772, 0x8E, 0x79, 0x3D, 0x69, 0xD8, 0x47, 0x7D, 0xE4),
444 "Linux data" },
445 { GUID_CONST(0xA19D880F, 0x05FC, 0x4D3B, 0xA0, 0x06, 0x74, 0x3F, 0x0F, 0x84, 0x91, 0x1E),
446 "Linux RAID partition" },
447 { GUID_CONST(0x0657FD6D, 0xA4AB, 0x43C4, 0x84, 0xE5, 0x09, 0x33, 0xC8, 0x4B, 0x4F, 0x4F),
448 "Linux Swap partition" },
449 // Logical Volume Manager (LVM)
450 { GUID_CONST(0xE6D6D379, 0xF507, 0x44C2, 0xA2, 0x3C, 0x23, 0x8F, 0x2A, 0x3D, 0xF9, 0x28),
451 "Linux LVM partition" },
452 { GUID_CONST(0x8DA63339, 0x0007, 0x60C0, 0xC4, 0x36, 0x08, 0x3A, 0xC8, 0x23, 0x09, 0x08),
453 "Linux reserved" },
454 { GUID_CONST(0x7FFEC5C9, 0x2D00, 0x49B7, 0x89, 0x41, 0x3E, 0xA1, 0x0A, 0x55, 0x86, 0xB7),
455 "Linux Plain dm-crypt partition" },
456 { GUID_CONST(0xCA7D7CCB, 0x63ED, 0x4C53, 0x86, 0x1C, 0x17, 0x42, 0x53, 0x60, 0x59, 0xCC),
457 "Linux LUKS partition" },
458
459 /*
460 * FreeBSD
461 */
462 { GUID_CONST(0x83BD6B9D, 0x7F41, 0x11DC, 0xBE, 0x0B, 0x00, 0x15, 0x60, 0xB8, 0x4F, 0x0F),
463 "FreeBSD Boot" },
464 { GUID_CONST(0x516E7CB4, 0x6ECF, 0x11D6, 0x8F, 0xF8, 0x00, 0x02, 0x2D, 0x09, 0x71, 0x2B),
465 "FreeBSD Data" },
466 { GUID_CONST(0x516E7CB5, 0x6ECF, 0x11D6, 0x8F, 0xF8, 0x00, 0x02, 0x2D, 0x09, 0x71, 0x2B),
467 "FreeBSD Swap" },
468 // Unix File System (UFS)
469 { GUID_CONST(0x516E7CB6, 0x6ECF, 0x11D6, 0x8F, 0xF8, 0x00, 0x02, 0x2D, 0x09, 0x71, 0x2B),
470 "FreeBSD UFS" },
471 /* The following is unused but documented here to avoid reuse.
472 * GUID_CONST(0x516E7CB7, 0x6ECF, 0x11D6, 0x8F, 0xF8, 0x00, 0x02, 0x2D, 0x09, 0x71, 0x2B);
473 */
474 // Vinum volume manager
475 { GUID_CONST(0x516E7CB8, 0x6ECF, 0x11D6, 0x8F, 0xF8, 0x00, 0x02, 0x2D, 0x09, 0x71, 0x2B),
476 "FreeBSD Vinum" },
477 { GUID_CONST(0x516E7CBA, 0x6ECF, 0x11D6, 0x8F, 0xF8, 0x00, 0x02, 0x2D, 0x09, 0x71, 0x2B),
478 "FreeBSD ZFS" },
479
480 /*
481 * MidnightBSD
482 */
483 { GUID_CONST(0x85D5E45E, 0x237C, 0x11E1, 0xB4, 0xB3, 0xE8, 0x9A, 0x8F, 0x7F, 0xC3, 0xA7),
484 "MidnightBSD Boot" },
485 { GUID_CONST(0x85D5E45A, 0x237C, 0x11E1, 0xB4, 0xB3, 0xE8, 0x9A, 0x8F, 0x7F, 0xC3, 0xA7),
486 "MidnightBSD Data" },
487 { GUID_CONST(0x85D5E45B, 0x237C, 0x11E1, 0xB4, 0xB3, 0xE8, 0x9A, 0x8F, 0x7F, 0xC3, 0xA7),
488 "MidnightBSD Swap" },
489 // Unix File System (UFS)
490 { GUID_CONST(0x0394EF8B, 0x237E, 0x11E1, 0xB4, 0xB3, 0xE8, 0x9A, 0x8F, 0x7F, 0xC3, 0xA7),
491 "MidnightBSD UFS" },
492 // Vinum volume manager
493 { GUID_CONST(0x85D5E45C, 0x237C, 0x11E1, 0xB4, 0xB3, 0xE8, 0x9A, 0x8F, 0x7F, 0xC3, 0xA7),
494 "MidnightBSD Vinum" },
495 { GUID_CONST(0x85D5E45D, 0x237C, 0x11E1, 0xB4, 0xB3, 0xE8, 0x9A, 0x8F, 0x7F, 0xC3, 0xA7),
496 "MidnightBSD ZFS" },
497
498 /*
499 * NetBSD
500 */
501 { GUID_CONST(0x49F48D32, 0xB10E, 0x11DC, 0xB9, 0x9B, 0x00, 0x19, 0xD1, 0x87, 0x96, 0x48),
502 "NetBSD Swap" },
503 { GUID_CONST(0x49F48D5A, 0xB10E, 0x11DC, 0xB9, 0x9B, 0x00, 0x19, 0xD1, 0x87, 0x96, 0x48),
504 "NetBSD FFS" },
505 { GUID_CONST(0x49F48D82, 0xB10E, 0x11DC, 0xB9, 0x9B, 0x00, 0x19, 0xD1, 0x87, 0x96, 0x48),
506 "NetBSD LFS" },
507 // NetBSD RAID Frame
508 { GUID_CONST(0x49F48DAA, 0xB10E, 0x11DC, 0xB9, 0x9B, 0x00, 0x19, 0xD1, 0x87, 0x96, 0x48),
509 "NetBSD RAID" },
510 // NetBSD CCD
511 { GUID_CONST(0x2DB519C4, 0xB10F, 0x11DC, 0xB9, 0x9B, 0x00, 0x19, 0xD1, 0x87, 0x96, 0x48),
512 "NetBSD Concatenated partition" },
513 // NetBSD CGD
514 { GUID_CONST(0x2DB519EC, 0xB10F, 0x11DC, 0xB9, 0x9B, 0x00, 0x19, 0xD1, 0x87, 0x96, 0x48),
515 "NetBSD Encrypted partition" },
516
517 /*
518 * OpenBSD
519 */
520 { GUID_CONST(0x824CC7A0, 0x36A8, 0x11E3, 0x89, 0x0A, 0x95, 0x25, 0x19, 0xAD, 0x3F, 0x61),
521 "OpenBSD Data" },
522
523 /*
524 * DragonFlyBSD
525 */
526 { GUID_CONST(0x9D087404, 0x1CA5, 0x11DC, 0x88, 0x17, 0x01, 0x30, 0x1B, 0xB8, 0xA9, 0xF5),
527 "DragonFlyBSD L32" },
528 { GUID_CONST(0x3D48CE54, 0x1D16, 0x11DC, 0x86, 0x96, 0x01, 0x30, 0x1B, 0xB8, 0xA9, 0xF5),
529 "DragonFlyBSD L64" },
530 { GUID_CONST(0xBD215AB2, 0x1D16, 0x11DC, 0x86, 0x96, 0x01, 0x30, 0x1B, 0xB8, 0xA9, 0xF5),
531 "DragonFlyBSD Legacy" },
532 { GUID_CONST(0xDBD5211B, 0x1CA5, 0x11DC, 0x88, 0x17, 0x01, 0x30, 0x1B, 0xB8, 0xA9, 0xF5),
533 "DragonFlyBSD Concatenated partition" },
534 { GUID_CONST(0x61DC63AC, 0x6E38, 0x11DC, 0x85, 0x13, 0x01, 0x30, 0x1B, 0xB8, 0xA9, 0xF5),
535 "DragonFlyBSD Hammer" },
536 { GUID_CONST(0x5CBB9AD1, 0x862D, 0x11DC, 0xA9, 0x4D, 0x01, 0x30, 0x1B, 0xB8, 0xA9, 0xF5),
537 "DragonFlyBSD Hammer 2" },
538 { GUID_CONST(0x9D58FDBD, 0x1CA5, 0x11DC, 0x88, 0x17, 0x01, 0x30, 0x1B, 0xB8, 0xA9, 0xF5),
539 "DragonFlyBSD Swap" },
540 // Unix File System (UFS)
541 { GUID_CONST(0x9D94CE7C, 0x1CA5, 0x11DC, 0x88, 0x17, 0x01, 0x30, 0x1B, 0xB8, 0xA9, 0xF5),
542 "DragonFlyBSD UFS" },
543 // Vinum volume manager
544 { GUID_CONST(0x9DD4478F, 0x1CA5, 0x11DC, 0x88, 0x17, 0x01, 0x30, 0x1B, 0xB8, 0xA9, 0xF5),
545 "DragonFlyBSD Vinum" },
546
547 /*
548 * Apple / MacOS Darwin
549 */
550 { GUID_CONST(0x6A898CC3, 0x1DD2, 0x11B2, 0x99, 0xA6, 0x08, 0x00, 0x20, 0x73, 0x66, 0x31),
551 "Apple ZFS / Solaris /usr" },
552 // APPLE_HFS "Apple data partition" / "Mac OS X Hierarchical File System Plus (HFS+) partition"
553 { GUID_CONST(0x48465300, 0x0000, 0x11AA, 0xAA, 0x11, 0x00, 0x30, 0x65, 0x43, 0xEC, 0xAC),
554 "MacOS X HFS+" },
555 // "Apple APFS container"
556 { GUID_CONST(0x7C3457EF, 0x0000, 0x11AA, 0xAA, 0x11, 0x00, 0x30, 0x65, 0x43, 0xEC, 0xAC),
557 "APFS FileVault volume container" },
558 { GUID_CONST(0x55465300, 0x0000, 0x11AA, 0xAA, 0x11, 0x00, 0x30, 0x65, 0x43, 0xEC, 0xAC),
559 "Apple UFS container" },
560 { GUID_CONST(0x52414944, 0x0000, 0x11AA, 0xAA, 0x11, 0x00, 0x30, 0x65, 0x43, 0xEC, 0xAC),
561 "Apple RAID" },
562 { GUID_CONST(0x52414944, 0x5F4F, 0x11AA, 0xAA, 0x11, 0x00, 0x30, 0x65, 0x43, 0xEC, 0xAC),
563 "Apple RAID offline" },
564 { GUID_CONST(0x426F6F74, 0x0000, 0x11AA, 0xAA, 0x11, 0x00, 0x30, 0x65, 0x43, 0xEC, 0xAC),
565 "Apple Boot partition (Recovery HD)" },
566 { GUID_CONST(0x4C616265, 0x6C00, 0x11AA, 0xAA, 0x11, 0x00, 0x30, 0x65, 0x43, 0xEC, 0xAC),
567 "Apple Label" },
568 { GUID_CONST(0x5265636F, 0x7665, 0x11AA, 0xAA, 0x11, 0x00, 0x30, 0x65, 0x43, 0xEC, 0xAC),
569 "Apple TV Recovery partition" },
570 { GUID_CONST(0x53746F72, 0x6167, 0x11AA, 0xAA, 0x11, 0x00, 0x30, 0x65, 0x43, 0xEC, 0xAC),
571 "Apple Core Storage (Lion FileVault) Container" },
572 { GUID_CONST(0xB6FA30DA, 0x92D2, 0x4A9A, 0x96, 0xF1, 0x87, 0x1E, 0xC6, 0x48, 0x62, 0x00),
573 "SoftRAID_Status" },
574 { GUID_CONST(0x2E313465, 0x19B9, 0x463F, 0x81, 0x26, 0x8A, 0x79, 0x93, 0x77, 0x38, 0x01),
575 "SoftRAID_Scratch" },
576 { GUID_CONST(0xFA709C7E, 0x65B1, 0x4593, 0xBF, 0xD5, 0xE7, 0x1D, 0x61, 0xDE, 0x9B, 0x02),
577 "SoftRAID_Volume" },
578 { GUID_CONST(0xBBBA6DF5, 0xF46F, 0x4A89, 0x8F, 0x59, 0x87, 0x65, 0xB2, 0x72, 0x75, 0x03),
579 "SoftRAID_Cache" },
580
581 /*
582 * Solaris / Illumos
583 */
584 { GUID_CONST(0x6A82CB45, 0x1DD2, 0x11B2, 0x99, 0xA6, 0x08, 0x00, 0x20, 0x73, 0x66, 0x31),
585 "Solaris Boot" },
586 { GUID_CONST(0x6A85CF4D, 0x1DD2, 0x11B2, 0x99, 0xA6, 0x08, 0x00, 0x20, 0x73, 0x66, 0x31),
587 "Solaris Root" },
588 { GUID_CONST(0x6A87C46F, 0x1DD2, 0x11B2, 0x99, 0xA6, 0x08, 0x00, 0x20, 0x73, 0x66, 0x31),
589 "Solaris Swap" },
590 { GUID_CONST(0x6A8B642B, 0x1DD2, 0x11B2, 0x99, 0xA6, 0x08, 0x00, 0x20, 0x73, 0x66, 0x31),
591 "Solaris Backup" },
592 // See MacOS "Apple ZFS partition"
593 // { GUID_CONST(0x6A898CC3, 0x1DD2, 0x11B2, 0x99, 0xA6, 0x08, 0x00, 0x20, 0x73, 0x66, 0x31),
594 // "Solaris /usr" },
595 { GUID_CONST(0x6A8EF2E9, 0x1DD2, 0x11B2, 0x99, 0xA6, 0x08, 0x00, 0x20, 0x73, 0x66, 0x31),
596 "Solaris /var" },
597 { GUID_CONST(0x6A90BA39, 0x1DD2, 0x11B2, 0x99, 0xA6, 0x08, 0x00, 0x20, 0x73, 0x66, 0x31),
598 "Solaris /home" },
599 { GUID_CONST(0x6A9283A5, 0x1DD2, 0x11B2, 0x99, 0xA6, 0x08, 0x00, 0x20, 0x73, 0x66, 0x31),
600 "Solaris Alternate sector" },
601 { GUID_CONST(0x6A945A3B, 0x1DD2, 0x11B2, 0x99, 0xA6, 0x08, 0x00, 0x20, 0x73, 0x66, 0x31),
602 "Solaris Reserved" },
603 { GUID_CONST(0x6A9630D1, 0x1DD2, 0x11B2, 0x99, 0xA6, 0x08, 0x00, 0x20, 0x73, 0x66, 0x31),
604 "Solaris Reserved" },
605 { GUID_CONST(0x6A980767, 0x1DD2, 0x11B2, 0x99, 0xA6, 0x08, 0x00, 0x20, 0x73, 0x66, 0x31),
606 "Solaris Reserved" },
607 { GUID_CONST(0x6A96237F, 0x1DD2, 0x11B2, 0x99, 0xA6, 0x08, 0x00, 0x20, 0x73, 0x66, 0x31),
608 "Solaris Reserved" },
609 { GUID_CONST(0x6A8D2AC7, 0x1DD2, 0x11B2, 0x99, 0xA6, 0x08, 0x00, 0x20, 0x73, 0x66, 0x31),
610 "Solaris Reserved" },
611
612 /*
613 * ChromeOS
614 */
615 { GUID_CONST(0xFE3A2A5D, 0x4F32, 0x41A7, 0xB7, 0x25, 0xAC, 0xCC, 0x32, 0x85, 0xA3, 0x09),
616 "ChromeOS kernel" },
617 { GUID_CONST(0x3CB8E202, 0x3B7E, 0x47DD, 0x8A, 0x3C, 0x7F, 0xF2, 0xA1, 0x3C, 0xFC, 0xEC),
618 "ChromeOS rootfs" },
619 { GUID_CONST(0x2E0A753D, 0x9E48, 0x43B0, 0x83, 0x37, 0xB1, 0x51, 0x92, 0xCB, 0x1B, 0x5E),
620 "ChromeOS future use" },
621
622 /*
623 * Haiku
624 */
625 { GUID_CONST(0x42465331, 0x3BA3, 0x10F1, 0x80, 0x2A, 0x48, 0x61, 0x69, 0x6B, 0x75, 0x21),
626 "Haiku BFS" },
627
628 /*
629 * Container Linux
630 */
631 { GUID_CONST(0x5DFBF5F4, 0x2848, 0x4BAC, 0xAA, 0x5E, 0x0D, 0x9A, 0x20, 0xB7, 0x45, 0xA6),
632 "/usr partition (coreos-usr)" },
633 { GUID_CONST(0x3884DD41, 0x8582, 0x4404, 0xB9, 0xA8, 0xE9, 0xB8, 0x4F, 0x2D, 0xF5, 0x0E),
634 "Resizable rootfs (coreos-resize)" },
635 { GUID_CONST(0xC95DC21A, 0xDF0E, 0x4340, 0x8D, 0x7B, 0x26, 0xCB, 0xFA, 0x9A, 0x03, 0xE0),
636 "OEM customizations (coreos-reserved)" },
637 { GUID_CONST(0xBE9067B9, 0xEA49, 0x4F15, 0xB4, 0xF6, 0xF3, 0x6F, 0x8C, 0x9E, 0x18, 0x18),
638 "Root filesystem on RAID (coreos-root-raid)" },
639
640 /*
641 * Ceph
642 */
643 { GUID_CONST(0x45B0969E, 0x9B03, 0x4F30, 0xB4, 0xC6, 0xB4, 0xB8, 0x0C, 0xEF, 0xF1, 0x06),
644 "Ceph Journal" },
645 { GUID_CONST(0x45B0969E, 0x9B03, 0x4F30, 0xB4, 0xC6, 0x5E, 0xC0, 0x0C, 0xEF, 0xF1, 0x06),
646 "dm-crypt journal" },
647 { GUID_CONST(0x4FBD7E29, 0x9D25, 0x41B8, 0xAF, 0xD0, 0x06, 0x2C, 0x0C, 0xEF, 0xF0, 0x5D),
648 "Ceph OSD" },
649 { GUID_CONST(0x4FBD7E29, 0x9D25, 0x41B8, 0xAF, 0xD0, 0x5E, 0xC0, 0x0C, 0xEF, 0xF0, 0x5D),
650 "dm-crypt OSD" },
651 { GUID_CONST(0x89C57F98, 0x2FE5, 0x4DC0, 0x89, 0xC1, 0xF3, 0xAD, 0x0C, 0xEF, 0xF2, 0xBE),
652 "Ceph Disk in creation" },
653 { GUID_CONST(0x89C57F98, 0x2FE5, 0x4DC0, 0x89, 0xC1, 0x5E, 0xC0, 0x0C, 0xEF, 0xF2, 0xBE),
654 "dm-crypt disk in creation" },
655 { GUID_CONST(0xCAFECAFE, 0x9B03, 0x4F30, 0xB4, 0xC6, 0xB4, 0xB8, 0x0C, 0xEF, 0xF1, 0x06),
656 "Ceph Block" },
657 { GUID_CONST(0x30CD0809, 0xC2B2, 0x499C, 0x88, 0x79, 0x2D, 0x6B, 0x78, 0x52, 0x98, 0x76),
658 "Ceph Block DB" },
659 { GUID_CONST(0x5CE17FCE, 0x4087, 0x4169, 0xB7, 0xFF, 0x05, 0x6C, 0xC5, 0x84, 0x73, 0xF9),
660 "Ceph Block write-ahead log" },
661 { GUID_CONST(0xFB3AABF9, 0xD25F, 0x47CC, 0xBF, 0x5E, 0x72, 0x1D, 0x18, 0x16, 0x49, 0x6B),
662 "Lockbox for dm-crypt keys" },
663 { GUID_CONST(0x4FBD7E29, 0x8AE0, 0x4982, 0xBF, 0x9D, 0x5A, 0x8D, 0x86, 0x7A, 0xF5, 0x60),
664 "Ceph Multipath OSD" },
665 { GUID_CONST(0x45B0969E, 0x8AE0, 0x4982, 0xBF, 0x9D, 0x5A, 0x8D, 0x86, 0x7A, 0xF5, 0x60),
666 "Ceph Multipath journal" },
667 { GUID_CONST(0xCAFECAFE, 0x8AE0, 0x4982, 0xBF, 0x9D, 0x5A, 0x8D, 0x86, 0x7A, 0xF5, 0x60),
668 "Ceph Multipath block" },
669 { GUID_CONST(0x7F4A666A, 0x16F3, 0x47A2, 0x84, 0x45, 0x15, 0x2E, 0xF4, 0xD0, 0x3F, 0x6C),
670 "Ceph Multipath block" },
671 { GUID_CONST(0xEC6D6385, 0xE346, 0x45DC, 0xBE, 0x91, 0xDA, 0x2A, 0x7C, 0x8B, 0x32, 0x61),
672 "Ceph Multipath block DB" },
673 { GUID_CONST(0x01B41E1B, 0x002A, 0x453C, 0x9F, 0x17, 0x88, 0x79, 0x39, 0x89, 0xFF, 0x8F),
674 "Ceph Multipath block write-ahead log" },
675 { GUID_CONST(0xCAFECAFE, 0x9B03, 0x4F30, 0xB4, 0xC6, 0x5E, 0xC0, 0x0C, 0xEF, 0xF1, 0x06),
676 "dm-crypt block" },
677 { GUID_CONST(0x93B0052D, 0x02D9, 0x4D8A, 0xA4, 0x3B, 0x33, 0xA3, 0xEE, 0x4D, 0xFB, 0xC3),
678 "dm-crypt block DB" },
679 { GUID_CONST(0x306E8683, 0x4FE2, 0x4330, 0xB7, 0xC0, 0x00, 0xA9, 0x17, 0xC1, 0x69, 0x66),
680 "dm-crypt block write-ahead log" },
681 { GUID_CONST(0x45B0969E, 0x9B03, 0x4F30, 0xB4, 0xC6, 0x35, 0x86, 0x5C, 0xEF, 0xF1, 0x06),
682 "dm-crypt LUKS journal" },
683 { GUID_CONST(0xCAFECAFE, 0x9B03, 0x4F30, 0xB4, 0xC6, 0x35, 0x86, 0x5C, 0xEF, 0xF1, 0x06),
684 "dm-crypt LUKS block" },
685 { GUID_CONST(0x166418DA, 0xC469, 0x4022, 0xAD, 0xF4, 0xB3, 0x0A, 0xFD, 0x37, 0xF1, 0x76),
686 "dm-crypt LUKS block DB" },
687 { GUID_CONST(0x86A32090, 0x3647, 0x40B9, 0xBB, 0xBD, 0x38, 0xD8, 0xC5, 0x73, 0xAA, 0x86),
688 "dm-crypt LUKS block write-ahead log" },
689 { GUID_CONST(0x4FBD7E29, 0x9D25, 0x41B8, 0xAF, 0xD0, 0x35, 0x86, 0x5C, 0xEF, 0xF0, 0x5D),
690 "dm-crypt LUKS OSD" },
691
692 /*
693 * QNX
694 */
695 { GUID_CONST(0xCEF5A9AD, 0x73BC, 0x4601, 0x89, 0xF3, 0xCD, 0xEE, 0xEE, 0xE3, 0x21, 0xA1),
696 "Power-safe (QNX6) file system" },
697
698 /*
699 * Plan 9
700 */
701 { GUID_CONST(0xC91818F9, 0x8025, 0x47AF, 0x89, 0xD2, 0xF0, 0x30, 0xD7, 0x00, 0x0C, 0x2C),
702 "Plan 9 partition" },
703
704 /*
705 * VMware ESX
706 */
707 { GUID_CONST(0xAA31E02A, 0x400F, 0x11DB, 0x95, 0x90, 0x00, 0x0C, 0x29, 0x11, 0xD1, 0xB8),
708 "VMware VMFS" },
709 { GUID_CONST(0x9D275380, 0x40AD, 0x11DB, 0xBF, 0x97, 0x00, 0x0C, 0x29, 0x11, 0xD1, 0xB8),
710 "VMware VMKCORE" },
711 { GUID_CONST(0x9198EFFC, 0x31C0, 0x11DB, 0x8F, 0x78, 0x00, 0x0C, 0x29, 0x11, 0xD1, 0xB8),
712 "VMware Reserved" },
713 { GUID_CONST(0x381CFCCC, 0x7288, 0x11E0, 0x92, 0xEE, 0x00, 0x0C, 0x29, 0x11, 0xD0, 0xB2),
714 "VMware vSAN" },
715
716 /*
717 * Android-IA
718 */
719 { GUID_CONST(0x2568845D, 0x2332, 0x4675, 0xBC, 0x39, 0x8F, 0xA5, 0xA4, 0x74, 0x8D, 0x15),
720 "Android Bootloader" },
721 { GUID_CONST(0x114EAFFE, 0x1552, 0x4022, 0xB2, 0x6E, 0x9B, 0x05, 0x36, 0x04, 0xCF, 0x84),
722 "Android Bootloader2" },
723 { GUID_CONST(0x49A4D17F, 0x93A3, 0x45C1, 0xA0, 0xDE, 0xF5, 0x0B, 0x2E, 0xBE, 0x25, 0x99),
724 "Android Boot" },
725 { GUID_CONST(0x4177C722, 0x9E92, 0x4AAB, 0x86, 0x44, 0x43, 0x50, 0x2B, 0xFD, 0x55, 0x06),
726 "Android Recovery" },
727 { GUID_CONST(0xEF32A33B, 0xA409, 0x486C, 0x91, 0x41, 0x9F, 0xFB, 0x71, 0x1F, 0x62, 0x66),
728 "Android Misc" },
729 { GUID_CONST(0x20AC26BE, 0x20B7, 0x11E3, 0x84, 0xC5, 0x6C, 0xFD, 0xB9, 0x47, 0x11, 0xE9),
730 "Android Metadata" },
731 { GUID_CONST(0x38F428E6, 0xD326, 0x425D, 0x91, 0x40, 0x6E, 0x0E, 0xA1, 0x33, 0x64, 0x7C),
732 "Android System" },
733 { GUID_CONST(0xA893EF21, 0xE428, 0x470A, 0x9E, 0x55, 0x06, 0x68, 0xFD, 0x91, 0xA2, 0xD9),
734 "Android Cache" },
735 { GUID_CONST(0xDC76DDA9, 0x5AC1, 0x491C, 0xAF, 0x42, 0xA8, 0x25, 0x91, 0x58, 0x0C, 0x0D),
736 "Android Data" },
737 { GUID_CONST(0xEBC597D0, 0x2053, 0x4B15, 0x8B, 0x64, 0xE0, 0xAA, 0xC7, 0x5F, 0x4D, 0xB1),
738 "Android Persistent" },
739 { GUID_CONST(0xC5A0AEEC, 0x13EA, 0x11E5, 0xA1, 0xB1, 0x00, 0x1E, 0x67, 0xCA, 0x0C, 0x3C),
740 "Android Vendor" },
741 { GUID_CONST(0xBD59408B, 0x4514, 0x490D, 0xBF, 0x12, 0x98, 0x78, 0xD9, 0x63, 0xF3, 0x78),
742 "Android Config" },
743 { GUID_CONST(0x8F68CC74, 0xC5E5, 0x48DA, 0xBE, 0x91, 0xA0, 0xC8, 0xC1, 0x5E, 0x9C, 0x80),
744 "Android Factory" },
745 { GUID_CONST(0x9FDAA6EF, 0x4B3F, 0x40D2, 0xBA, 0x8D, 0xBF, 0xF1, 0x6B, 0xFB, 0x88, 0x7B),
746 "Android Factory (alt)" },
747 { GUID_CONST(0x767941D0, 0x2085, 0x11E3, 0xAD, 0x3B, 0x6C, 0xFD, 0xB9, 0x47, 0x11, 0xE9),
748 "Android Fastboot / Tertiary" },
749 { GUID_CONST(0xAC6D7924, 0xEB71, 0x4DF8, 0xB4, 0x8D, 0xE2, 0x67, 0xB2, 0x71, 0x48, 0xFF),
750 "Android OEM" },
751
752 /*
753 * Android 6.0+ ARM
754 */
755 { GUID_CONST(0x19A710A2, 0xB3CA, 0x11E4, 0xB0, 0x26, 0x10, 0x60, 0x4B, 0x88, 0x9D, 0xCF),
756 "Android Meta" },
757 { GUID_CONST(0x193D1EA4, 0xB3CA, 0x11E4, 0xB0, 0x75, 0x10, 0x60, 0x4B, 0x88, 0x9D, 0xCF),
758 "Android EXT" },
759
760 /*
761 * ONIE (Open Network Install Environment)
762 */
763 { GUID_CONST(0x7412F7D5, 0xA156, 0x4B13, 0x81, 0xDC, 0x86, 0x71, 0x74, 0x92, 0x93, 0x25),
764 "ONIE Boot" },
765 { GUID_CONST(0xD4E6E2CD, 0x4469, 0x46F3, 0xB5, 0xCB, 0x1B, 0xFF, 0x57, 0xAF, 0xC1, 0x49),
766 "ONIE Config" },
767
768 /*
769 * Atari TOS
770 */
771 { GUID_CONST(0x734E5AFE, 0xF61A, 0x11E6, 0xBC, 0x64, 0x92, 0x36, 0x1F, 0x00, 0x26, 0x71),
772 "Atari TOS Basic data partition (GEM, BGM, F32)" },
773
774 /*
775 * VeraCrypt
776 */
777 { GUID_CONST(0x8C8F8EFF, 0xAC95, 0x4770, 0x81, 0x4A, 0x21, 0x99, 0x4F, 0x2D, 0xBC, 0x8F),
778 "VeraCrypt Encrypted data partition" },
779
780 /*
781 * OS/2 ArcaOS
782 */
783 { GUID_CONST(0x90B6FF38, 0xB98F, 0x4358, 0xA2, 0x1F, 0x48, 0xF3, 0x5B, 0x4A, 0x8A, 0xD3),
784 "ArcaOS Type 1" },
785};
786
787/* EOF */
const GPT_PARTITION_TYPE GptPartitionTypes[NUM_GPT_PARTITION_TYPES]
Definition: partinfo.c:271
const MBR_PARTITION_TYPE MbrPartitionTypes[NUM_MBR_PARTITION_TYPES]
Definition: partinfo.c:46
#define GUID_CONST(l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8)
Definition: partinfo.c:206
#define NUM_GPT_PARTITION_TYPES
Definition: partinfo.h:29
#define NUM_MBR_PARTITION_TYPES
Definition: partinfo.h:18
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8)
Definition: guiddef.h:68