Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Oct 2010 22:08:17 +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-8@freebsd.org
Subject:   svn commit: r213370 - stable/8/sys/geom/part
Message-ID:  <201010022208.o92M8HGL055904@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ae
Date: Sat Oct  2 22:08:17 2010
New Revision: 213370
URL: http://svn.freebsd.org/changeset/base/213370

Log:
  MFC r203261 (by marcel):
    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.
  
  Approved by:	kib (mentor)

Modified:
  stable/8/sys/geom/part/g_part_gpt.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/geom/part/g_part_gpt.c
==============================================================================
--- stable/8/sys/geom/part/g_part_gpt.c	Sat Oct  2 22:06:07 2010	(r213369)
+++ stable/8/sys/geom/part/g_part_gpt.c	Sat Oct  2 22:08:17 2010	(r213370)
@@ -522,6 +522,9 @@ g_part_gpt_dumpconf(struct g_part_table 
 		sbuf_printf(sb, "%s<rawtype>", indent);
 		sbuf_printf_uuid(sb, &entry->ent.ent_type);
 		sbuf_printf(sb, "</rawtype>\n");
+		sbuf_printf(sb, "%s<rawuuid>", indent);
+		sbuf_printf_uuid(sb, &entry->ent.ent_uuid);
+		sbuf_printf(sb, "</rawuuid>\n");
 	} else {
 		/* confxml: scheme information */
 	}



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