From owner-svn-src-all@FreeBSD.ORG Sat Jan 30 23:13:20 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B21910656A6; Sat, 30 Jan 2010 23:13:20 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 39FF58FC22; Sat, 30 Jan 2010 23:13:20 +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 o0UNDK2h036608; Sat, 30 Jan 2010 23:13:20 GMT (envelope-from marcel@svn.freebsd.org) Received: (from marcel@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o0UNDKgB036607; Sat, 30 Jan 2010 23:13:20 GMT (envelope-from marcel@svn.freebsd.org) Message-Id: <201001302313.o0UNDKgB036607@svn.freebsd.org> From: Marcel Moolenaar Date: Sat, 30 Jan 2010 23:13:20 +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: r203261 - head/sys/geom/part X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jan 2010 23:13:20 -0000 Author: marcel Date: Sat Jan 30 23:13:19 2010 New Revision: 203261 URL: http://svn.freebsd.org/changeset/base/203261 Log: Export the UUID of the partition in the XML. The partition UUID is used by EFI's device path to identify a partition. In order for FreeBSD to add EFI boot options, proper device paths need to be constructed. 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 Sat Jan 30 21:55:43 2010 (r203260) +++ head/sys/geom/part/g_part_gpt.c Sat Jan 30 23:13:19 2010 (r203261) @@ -513,6 +513,9 @@ g_part_gpt_dumpconf(struct g_part_table sbuf_printf(sb, "%s", indent); sbuf_printf_uuid(sb, &entry->ent.ent_type); sbuf_printf(sb, "\n"); + sbuf_printf(sb, "%s", indent); + sbuf_printf_uuid(sb, &entry->ent.ent_uuid); + sbuf_printf(sb, "\n"); } else { /* confxml: scheme information */ }