diff options
author | ae <ae@FreeBSD.org> | 2011-01-28 11:13:01 +0000 |
---|---|---|
committer | ae <ae@FreeBSD.org> | 2011-01-28 11:13:01 +0000 |
commit | a42db43990941642bfe4e6845018d4cc96934565 (patch) | |
tree | d95cc6fb57df2305ce718a00bdbc39b96ad1aa02 /sys/sys/gpt.h | |
parent | 941dda37cbafc426cc12c89dbd9aaaefa2aabe1b (diff) | |
download | FreeBSD-src-a42db43990941642bfe4e6845018d4cc96934565.zip FreeBSD-src-a42db43990941642bfe4e6845018d4cc96934565.tar.gz |
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
Diffstat (limited to 'sys/sys/gpt.h')
-rw-r--r-- | sys/sys/gpt.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/sys/gpt.h b/sys/sys/gpt.h index aa0a582..b0461b7 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_ */ |