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

Andrey V. Elsukov ae at
Sat Oct 2 22:15:58 UTC 2010

Author: ae
Date: Sat Oct  2 22:15:57 2010
New Revision: 213374

  MFC r212703 (by pjd):
    Make the message that informs about bootcode being written to disk less
    Note there is still no information about 'partcode' being written to disk
    (gpart bootcode -p <partcode> <disk>).
    Maybe in the future all the messages printed by gpart(8) on success could
    be hidden under -v?
    PR:		bin/150239
    Reported by:	Roddi <roddi at>
    Submitted by:	arundel
  Approved by:	kib (mentor)

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.c
--- stable/8/sys/geom/part/g_part.c	Sat Oct  2 22:14:01 2010	(r213373)
+++ stable/8/sys/geom/part/g_part.c	Sat Oct  2 22:15:57 2010	(r213374)
@@ -567,7 +567,7 @@ g_part_ctl_bootcode(struct gctl_req *req
 	/* Provide feedback if so requested. */
 	if (gpp->gpp_parms & G_PART_PARM_OUTPUT) {
 		sb = sbuf_new_auto();
-		sbuf_printf(sb, "%s has bootcode\n", gp->name);
+		sbuf_printf(sb, "bootcode written to %s\n", gp->name);
 		gctl_set_param(req, "output", sbuf_data(sb), sbuf_len(sb) + 1);
@@ -963,7 +963,7 @@ g_part_ctl_move(struct gctl_req *req, st
 	gctl_error(req, "%d verb 'move'", ENOSYS);
 	return (ENOSYS);
 static int
 g_part_ctl_recover(struct gctl_req *req, struct g_part_parms *gpp)

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