From owner-svn-src-head@FreeBSD.ORG Thu Nov 12 19:30:49 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC5011065695; Thu, 12 Nov 2009 19:30:49 +0000 (UTC) (envelope-from rpaulo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id BB4708FC17; Thu, 12 Nov 2009 19:30:49 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id nACJUnvF041110; Thu, 12 Nov 2009 19:30:49 GMT (envelope-from rpaulo@svn.freebsd.org) Received: (from rpaulo@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id nACJUn7O041108; Thu, 12 Nov 2009 19:30:49 GMT (envelope-from rpaulo@svn.freebsd.org) Message-Id: <200911121930.nACJUn7O041108@svn.freebsd.org> From: Rui Paulo Date: Thu, 12 Nov 2009 19:30:49 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r199232 - head/sys/geom/part X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Nov 2009 19:30:49 -0000 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);