Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Feb 2012 07:24:22 +0000 (UTC)
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r231643 - in stable/9/sys: geom/part sys
Message-ID:  <201202140724.q1E7OMBX084079@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ae
Date: Tue Feb 14 07:24:22 2012
New Revision: 231643
URL: http://svn.freebsd.org/changeset/base/231643

Log:
  MFC r231367:
    Add alias for the partition with type 0x42 to the MBR scheme.

Modified:
  stable/9/sys/geom/part/g_part_mbr.c
  stable/9/sys/sys/diskmbr.h
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/geom/part/g_part_mbr.c
==============================================================================
--- stable/9/sys/geom/part/g_part_mbr.c	Tue Feb 14 07:14:42 2012	(r231642)
+++ stable/9/sys/geom/part/g_part_mbr.c	Tue Feb 14 07:24:22 2012	(r231643)
@@ -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_LDM,		G_PART_ALIAS_MS_LDM_DATA },
 	{ DOSPTYP_LINSWP,	G_PART_ALIAS_LINUX_SWAP },
 	{ DOSPTYP_LINUX,	G_PART_ALIAS_LINUX_DATA },
 	{ DOSPTYP_LINLVM,	G_PART_ALIAS_LINUX_LVM },

Modified: stable/9/sys/sys/diskmbr.h
==============================================================================
--- stable/9/sys/sys/diskmbr.h	Tue Feb 14 07:14:42 2012	(r231642)
+++ stable/9/sys/sys/diskmbr.h	Tue Feb 14 07:24:22 2012	(r231643)
@@ -48,6 +48,7 @@
 #define	DOSPTYP_NTFS	0x07	/* NTFS partition */
 #define	DOSPTYP_FAT32	0x0b	/* FAT32 partition */
 #define	DOSPTYP_EXTLBA	0x0f	/* DOS extended partition */
+#define	DOSPTYP_LDM	0x42	/* Win2k dynamic extended partition */
 #define	DOSPTYP_386BSD	0xa5	/* 386BSD partition type */
 #define	DOSPTYP_LINSWP	0x82	/* Linux swap partition */
 #define	DOSPTYP_LINUX	0x83	/* Linux partition */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202140724.q1E7OMBX084079>