aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/gpt.h
diff options
context:
space:
mode:
authorAllan Jude <allanjude@FreeBSD.org>2015-12-27 18:12:13 +0000
committerAllan Jude <allanjude@FreeBSD.org>2015-12-27 18:12:13 +0000
commit9c0c355f2a204940a7fc8f71b242c075c279286d (patch)
tree834b1c12c53d22bd78dd2ddab22ecffdee4f7cd7 /sys/sys/gpt.h
parent7a3f5d11fb3873674a1f7e27bcc9a5f7ce279390 (diff)
downloadsrc-9c0c355f2a204940a7fc8f71b242c075c279286d.tar.gz
src-9c0c355f2a204940a7fc8f71b242c075c279286d.zip
Add some additional GPT partition types
4 ChromeOS GPT types 2 Microsoft partition types the new OpenBSD partition type Approved by: marcel (mentor) MFC after: 1 week Relnotes: yes Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D3841
Notes
Notes: svn path=/head/; revision=292788
Diffstat (limited to 'sys/sys/gpt.h')
-rw-r--r--sys/sys/gpt.h24
1 files changed, 20 insertions, 4 deletions
diff --git a/sys/sys/gpt.h b/sys/sys/gpt.h
index e62a80375455..3ef76b9bf3a2 100644
--- a/sys/sys/gpt.h
+++ b/sys/sys/gpt.h
@@ -107,14 +107,18 @@ struct gpt_ent {
* advantage might be. I can see how sharing swap partitions is advantageous
* though.
*/
-#define GPT_ENT_TYPE_MS_RESERVED \
- {0xe3c9e316,0x0b5c,0x4db8,0x81,0x7d,{0xf9,0x2d,0xf0,0x02,0x15,0xae}}
#define GPT_ENT_TYPE_MS_BASIC_DATA \
{0xebd0a0a2,0xb9e5,0x4433,0x87,0xc0,{0x68,0xb6,0xb7,0x26,0x99,0xc7}}
-#define GPT_ENT_TYPE_MS_LDM_METADATA \
- {0x5808c8aa,0x7e8f,0x42e0,0x85,0xd2,{0xe1,0xe9,0x04,0x34,0xcf,0xb3}}
#define GPT_ENT_TYPE_MS_LDM_DATA \
{0xaf9b60a0,0x1431,0x4f62,0xbc,0x68,{0x33,0x11,0x71,0x4a,0x69,0xad}}
+#define GPT_ENT_TYPE_MS_LDM_METADATA \
+ {0x5808c8aa,0x7e8f,0x42e0,0x85,0xd2,{0xe1,0xe9,0x04,0x34,0xcf,0xb3}}
+#define GPT_ENT_TYPE_MS_RECOVERY \
+ {0xde94bba4,0x06d1,0x4d40,0xa1,0x6a,{0xbf,0xd5,0x01,0x79,0xd6,0xac}}
+#define GPT_ENT_TYPE_MS_RESERVED \
+ {0xe3c9e316,0x0b5c,0x4db8,0x81,0x7d,{0xf9,0x2d,0xf0,0x02,0x15,0xae}}
+#define GPT_ENT_TYPE_MS_SPACES \
+ {0xe75caf8f,0xf680,0x4cee,0xaf,0xa3,{0xb0,0x01,0xe5,0x6e,0xfc,0x2d}}
#define GPT_ENT_TYPE_LINUX_DATA \
{0x0fc63daf,0x8483,0x4772,0x8e,0x79,{0x3d,0x69,0xd8,0x47,0x7d,0xe4}}
@@ -185,6 +189,18 @@ struct gpt_ent {
#define GPT_ENT_TYPE_DRAGONFLY_HAMMER2 \
{0x5cbb9ad1,0x862d,0x11dc,0xa9,0x4d,{0x01,0x30,0x1b,0xb8,0xa9,0xf5}}
+#define GPT_ENT_TYPE_CHROMEOS_FIRMWARE \
+ {0xcab6e88e,0xabf3,0x4102,0xa0,0x7a,{0xd4,0xbb,0x9b,0xe3,0xc1,0xd3}}
+#define GPT_ENT_TYPE_CHROMEOS_KERNEL \
+ {0xfe3a2a5d,0x4f32,0x41a7,0xb7,0x25,{0xac,0xcc,0x32,0x85,0xa3,0x09}}
+#define GPT_ENT_TYPE_CHROMEOS_RESERVED \
+ {0x2e0a753d,0x9e48,0x43b0,0x83,0x37,{0xb1,0x51,0x92,0xcb,0x1b,0x5e}}
+#define GPT_ENT_TYPE_CHROMEOS_ROOT \
+ {0x3cb8e202,0x3b7e,0x47dd,0x8a,0x3c,{0x7f,0xf2,0xa1,0x3c,0xfc,0xec}}
+
+#define GPT_ENT_TYPE_OPENBSD_DATA \
+ {0x824cc7a0,0x36a8,0x11e3,0x89,0x0a,{0x95,0x25,0x19,0xad,0x3f,0x61}}
+
/*
* Boot partition used by GRUB 2.
*/