summaryrefslogtreecommitdiffstats
path: root/sys/geom
diff options
context:
space:
mode:
authorae <ae@FreeBSD.org>2012-02-20 05:48:57 +0000
committerae <ae@FreeBSD.org>2012-02-20 05:48:57 +0000
commitdb69f3b1ae4d02428f02a7600eba04dc11988edd (patch)
tree4fffe68271ed449fefc2b92d095c794becc9b19d /sys/geom
parent262a20238281d5b5d9795ae42f3779ea0a0f31f2 (diff)
downloadFreeBSD-src-db69f3b1ae4d02428f02a7600eba04dc11988edd.zip
FreeBSD-src-db69f3b1ae4d02428f02a7600eba04dc11988edd.tar.gz
Add alias for the partition type 0x0f. Now "ebr" name is used for both
types 0x05 and 0x0f, but 0x05 is preferred and used when partition is created with "gpart add -t ebr ...". This should keep EBR partitions accessible after r231754 for those, who have EBR on the partition with type 0x0f.
Diffstat (limited to 'sys/geom')
-rw-r--r--sys/geom/part/g_part_mbr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/geom/part/g_part_mbr.c b/sys/geom/part/g_part_mbr.c
index f3e5770..c43607d 100644
--- a/sys/geom/part/g_part_mbr.c
+++ b/sys/geom/part/g_part_mbr.c
@@ -119,6 +119,7 @@ static struct g_part_mbr_alias {
{ DOSPTYP_EXT, G_PART_ALIAS_EBR },
{ DOSPTYP_NTFS, G_PART_ALIAS_MS_NTFS },
{ DOSPTYP_FAT32, G_PART_ALIAS_MS_FAT32 },
+ { DOSPTYP_EXTLBA, G_PART_ALIAS_EBR },
{ DOSPTYP_LDM, G_PART_ALIAS_MS_LDM_DATA },
{ DOSPTYP_LINSWP, G_PART_ALIAS_LINUX_SWAP },
{ DOSPTYP_LINUX, G_PART_ALIAS_LINUX_DATA },
OpenPOWER on IntegriCloud