Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Nov 2009 19:30:49 +0000 (UTC)
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r199232 - head/sys/geom/part
Message-ID:  <200911121930.nACJUn7O041108@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rpaulo
Date: Thu Nov 12 19:30:49 2009
New Revision: 199232
URL: http://svn.freebsd.org/changeset/base/199232

Log:
  Add a missing check for Apple HFS partitions.
  
  MFC after:	1 week

Modified:
  head/sys/geom/part/g_part_gpt.c

Modified: head/sys/geom/part/g_part_gpt.c
==============================================================================
--- head/sys/geom/part/g_part_gpt.c	Thu Nov 12 19:02:10 2009	(r199231)
+++ head/sys/geom/part/g_part_gpt.c	Thu Nov 12 19:30:49 2009	(r199232)
@@ -736,6 +736,8 @@ g_part_gpt_type(struct g_part_table *bas
 		return (g_part_alias_name(G_PART_ALIAS_FREEBSD_ZFS));
 	if (EQUUID(type, &gpt_uuid_mbr))
 		return (g_part_alias_name(G_PART_ALIAS_MBR));
+	if (EQUUID(type, &gpt_uuid_apple_hfs))
+		return (g_part_alias_name(G_PART_ALIAS_APPLE_HFS));
 	buf[0] = '!';
 	snprintf_uuid(buf + 1, bufsz - 1, type);
 	return (buf);



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