aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/gpt.h
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2012-05-25 20:33:34 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2012-05-25 20:33:34 +0000
commitf24a8224b2046c7b7e4525ccb94b8e1f39a600d4 (patch)
tree22db89ce1df21b40282304277904a448e457d5b0 /sys/sys/gpt.h
parent3c52150e70ebc3e264786918f0414edfa243a7d2 (diff)
downloadsrc-f24a8224b2046c7b7e4525ccb94b8e1f39a600d4.tar.gz
src-f24a8224b2046c7b7e4525ccb94b8e1f39a600d4.zip
Add a partition type for nandfs to the apm, bsd, gpt and vtoc8 schemes.
The gpart alias for these partition types is "freebsd-nandfs".
Notes
Notes: svn path=/head/; revision=236023
Diffstat (limited to 'sys/sys/gpt.h')
-rw-r--r--sys/sys/gpt.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/sys/gpt.h b/sys/sys/gpt.h
index d00135dee9e9..507ff1c3c6b3 100644
--- a/sys/sys/gpt.h
+++ b/sys/sys/gpt.h
@@ -79,6 +79,10 @@ struct gpt_ent {
{0x024dee41,0x33e7,0x11d3,0x9d,0x69,{0x00,0x08,0xc7,0x81,0xf3,0x9f}}
#define GPT_ENT_TYPE_FREEBSD \
{0x516e7cb4,0x6ecf,0x11d6,0x8f,0xf8,{0x00,0x02,0x2d,0x09,0x71,0x2b}}
+#define GPT_ENT_TYPE_FREEBSD_BOOT \
+ {0x83bd6b9d,0x7f41,0x11dc,0xbe,0x0b,{0x00,0x15,0x60,0xb8,0x4f,0x0f}}
+#define GPT_ENT_TYPE_FREEBSD_NANDFS \
+ {0x74ba7dd9,0xa689,0x11e1,0xbd,0x04,{0x00,0xe0,0x81,0x28,0x6a,0xcf}}
#define GPT_ENT_TYPE_FREEBSD_SWAP \
{0x516e7cb5,0x6ecf,0x11d6,0x8f,0xf8,{0x00,0x02,0x2d,0x09,0x71,0x2b}}
#define GPT_ENT_TYPE_FREEBSD_UFS \
@@ -87,8 +91,6 @@ struct gpt_ent {
{0x516e7cb8,0x6ecf,0x11d6,0x8f,0xf8,{0x00,0x02,0x2d,0x09,0x71,0x2b}}
#define GPT_ENT_TYPE_FREEBSD_ZFS \
{0x516e7cba,0x6ecf,0x11d6,0x8f,0xf8,{0x00,0x02,0x2d,0x09,0x71,0x2b}}
-#define GPT_ENT_TYPE_FREEBSD_BOOT \
- {0x83bd6b9d,0x7f41,0x11dc,0xbe,0x0b,{0x00,0x15,0x60,0xb8,0x4f,0x0f}}
/*
* The following are unused but documented here to avoid reuse.