diff options
author | ae <ae@FreeBSD.org> | 2012-02-20 05:48:57 +0000 |
---|---|---|
committer | ae <ae@FreeBSD.org> | 2012-02-20 05:48:57 +0000 |
commit | db69f3b1ae4d02428f02a7600eba04dc11988edd (patch) | |
tree | 4fffe68271ed449fefc2b92d095c794becc9b19d | |
parent | 262a20238281d5b5d9795ae42f3779ea0a0f31f2 (diff) | |
download | FreeBSD-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.
-rw-r--r-- | sys/geom/part/g_part_mbr.c | 1 |
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 }, |