From c3f9f306d2c21dec7d4ed76bdaab872900542e98 Mon Sep 17 00:00:00 2001 From: "Andrey V. Elsukov" Date: Mon, 20 Feb 2012 05:48:57 +0000 Subject: [PATCH] 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. --- sys/geom/part/g_part_mbr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/geom/part/g_part_mbr.c b/sys/geom/part/g_part_mbr.c index f3e57707b4f..c43607d69a2 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 },