svn commit: r231928 - head/sys/geom/part
Andrey V. Elsukov
ae at FreeBSD.org
Mon Feb 20 05:48:58 UTC 2012
Author: ae
Date: Mon Feb 20 05:48:57 2012
New Revision: 231928
URL: http://svn.freebsd.org/changeset/base/231928
Log:
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.
Modified:
head/sys/geom/part/g_part_mbr.c
Modified: head/sys/geom/part/g_part_mbr.c
==============================================================================
--- head/sys/geom/part/g_part_mbr.c Mon Feb 20 03:07:07 2012 (r231927)
+++ head/sys/geom/part/g_part_mbr.c Mon Feb 20 05:48:57 2012 (r231928)
@@ -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 },
More information about the svn-src-all
mailing list