svn commit: r213370 - stable/8/sys/geom/part

Andrey V. Elsukov ae at FreeBSD.org
Sat Oct 2 22:08:18 UTC 2010


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 */
 	}


More information about the svn-src-stable-8 mailing list