aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/gpt.h
diff options
context:
space:
mode:
authorAndrey V. Elsukov <ae@FreeBSD.org>2011-01-28 11:13:01 +0000
committerAndrey V. Elsukov <ae@FreeBSD.org>2011-01-28 11:13:01 +0000
commit88007f61021eeabfa1f47ae719ad93a4b304f7fc (patch)
treed95cc6fb57df2305ce718a00bdbc39b96ad1aa02 /sys/sys/gpt.h
parenta6a308a4df69b5b9c7f7da2f06890b227015ba82 (diff)
downloadsrc-88007f61021eeabfa1f47ae719ad93a4b304f7fc.tar.gz
src-88007f61021eeabfa1f47ae719ad93a4b304f7fc.zip
Add new user-friendly aliases for partition types for the MBR and
EBR schemes: fat32, ebr, linux-data, linux-raid, linux-swap and linux-lvm. Add bios-boot GUID and alias for the GPT scheme. It used by GRUB 2 loader. Also do sorting definitions of types in diskmbr.h and in g_part.c. PR: bin/120990, kern/147664 MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=218014
Diffstat (limited to 'sys/sys/gpt.h')
-rw-r--r--sys/sys/gpt.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/sys/gpt.h b/sys/sys/gpt.h
index aa0a582310d6..b0461b7ee250 100644
--- a/sys/sys/gpt.h
+++ b/sys/sys/gpt.h
@@ -150,4 +150,10 @@ struct gpt_ent {
#define GPT_ENT_TYPE_NETBSD_CGD \
{0x2db519ec,0xb10f,0x11dc,0xb9,0x9b,{0x00,0x19,0xd1,0x87,0x96,0x48}}
+/*
+ * Boot partition used by GRUB 2.
+ */
+#define GPT_ENT_TYPE_BIOS_BOOT \
+ {0x21686148,0x6449,0x6e6f,0x74,0x4e,{0x65,0x65,0x64,0x45,0x46,0x49}}
+
#endif /* _SYS_GPT_H_ */