Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jul 2015 11:16:49 +0000 (UTC)
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r285889 - head/sys/geom/part
Message-ID:  <201507261116.t6QBGnBQ089613@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ae
Date: Sun Jul 26 11:16:48 2015
New Revision: 285889
URL: https://svnweb.freebsd.org/changeset/base/285889

Log:
  Report the scheme and provider names in warning message about unaligned
  partition.
  
  PR:		201873
  MFC after:	1 week

Modified:
  head/sys/geom/part/g_part.c

Modified: head/sys/geom/part/g_part.c
==============================================================================
--- head/sys/geom/part/g_part.c	Sun Jul 26 10:53:32 2015	(r285888)
+++ head/sys/geom/part/g_part.c	Sun Jul 26 11:16:48 2015	(r285889)
@@ -322,8 +322,10 @@ g_part_check_integrity(struct g_part_tab
 			if (e1->gpe_offset > offset)
 				offset = e1->gpe_offset;
 			if ((offset + pp->stripeoffset) % pp->stripesize) {
-				DPRINTF("partition %d is not aligned on %u "
-				    "bytes\n", e1->gpe_index, pp->stripesize);
+				DPRINTF("partition %d on (%s, %s) is not "
+				    "aligned on %u bytes\n", e1->gpe_index,
+				    pp->name, table->gpt_scheme->name,
+				    pp->stripesize);
 				/* Don't treat this as a critical failure */
 			}
 		}



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