aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/disk
diff options
context:
space:
mode:
authorConrad Meyer <cem@FreeBSD.org>2020-08-17 17:07:05 +0000
committerConrad Meyer <cem@FreeBSD.org>2020-08-17 17:07:05 +0000
commitcb1480f8d4f1a4f0a82881dac1c699ccf5566eda (patch)
tree2c8e911fb81f0fd171813cf11f9afd930548fdfe /sys/sys/disk
parenta666b24ea5413c01dc04208de93fc877d8ff50f1 (diff)
downloadsrc-cb1480f8d4f1a4f0a82881dac1c699ccf5566eda.tar.gz
src-cb1480f8d4f1a4f0a82881dac1c699ccf5566eda.zip
gpart(8): Recognize apple-zfs and solaris-reserved partition ids
Introduce G_PART_ALIAS_SOLARIS_RESERVED, GPT_ENT_TYPE_SOLARIS_RESERVED et al., to make gpart show output more convenient on systems with illumos/openindiana disks visible. Submitted by: Juraj Lutter <otis AT sk.FreeBSD.org> Reviewed by: bcr(manpages), delphij, myself Differential Revision: https://reviews.freebsd.org/D26012
Notes
Notes: svn path=/head/; revision=364316
Diffstat (limited to 'sys/sys/disk')
-rw-r--r--sys/sys/disk/gpt.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/sys/sys/disk/gpt.h b/sys/sys/disk/gpt.h
index ce38a1d1036a..c68524b9051e 100644
--- a/sys/sys/disk/gpt.h
+++ b/sys/sys/disk/gpt.h
@@ -230,6 +230,23 @@ CTASSERT(sizeof(struct gpt_ent) == 128);
#define GPT_ENT_TYPE_OPENBSD_DATA \
{0x824cc7a0,0x36a8,0x11e3,0x89,0x0a,{0x95,0x25,0x19,0xad,0x3f,0x61}}
+#define GPT_ENT_TYPE_SOLARIS_BOOT \
+ {0x6a82cb45,0x1dd2,0x11b2,0x99,0xa6,{0x08,0x00,0x20,0x73,0x66,0x31}}
+#define GPT_ENT_TYPE_SOLARIS_ROOT \
+ {0x6a85cf4d,0x1dd2,0x11b2,0x99,0xa6,{0x08,0x00,0x20,0x73,0x66,0x31}}
+#define GPT_ENT_TYPE_SOLARIS_SWAP \
+ {0x6a87c46f,0x1dd2,0x11b2,0x99,0xa6,{0x08,0x00,0x20,0x73,0x66,0x31}}
+#define GPT_ENT_TYPE_SOLARIS_BACKUP \
+ {0x6a8b642b,0x1dd2,0x11b2,0x99,0xa6,{0x08,0x00,0x20,0x73,0x66,0x31}}
+#define GPT_ENT_TYPE_SOLARIS_VAR \
+ {0x6a8ef2e9,0x1dd2,0x11b2,0x99,0xa6,{0x08,0x00,0x20,0x73,0x66,0x31}}
+#define GPT_ENT_TYPE_SOLARIS_HOME \
+ {0x6a90ba39,0x1dd2,0x11b2,0x99,0xa6,{0x08,0x00,0x20,0x73,0x66,0x31}}
+#define GPT_ENT_TYPE_SOLARIS_ALTSEC \
+ {0x6a9283a5,0x1dd2,0x11b2,0x99,0xa6,{0x08,0x00,0x20,0x73,0x66,0x31}}
+#define GPT_ENT_TYPE_SOLARIS_RESERVED \
+ {0x6a945a3b,0x1dd2,0x11b2,0x99,0xa6,{0x08,0x00,0x20,0x73,0x66,0x31}}
+
/*
* Boot partition used by GRUB 2.
*/