Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Oct 2013 10:31:03 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r257047 - stable/10/sys/cam
Message-ID:  <201310241031.r9OAV3oS022118@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Thu Oct 24 10:31:02 2013
New Revision: 257047
URL: http://svnweb.freebsd.org/changeset/base/257047

Log:
  MFC r256533:
  Unhide "Serial Number" lines from bootverbose.  That information may
  be useful for system administration to have in hard copy (in logs) if
  one of several devices suddenly dies.
  
  Approved by:	re (hrs)

Modified:
  stable/10/sys/cam/cam_xpt.c
Directory Properties:
  stable/10/sys/   (props changed)

Modified: stable/10/sys/cam/cam_xpt.c
==============================================================================
--- stable/10/sys/cam/cam_xpt.c	Thu Oct 24 10:18:08 2013	(r257046)
+++ stable/10/sys/cam/cam_xpt.c	Thu Oct 24 10:31:02 2013	(r257047)
@@ -1043,7 +1043,7 @@ xpt_announce_periph(struct cam_periph *p
 		    (struct sep_identify_data *)&path->device->ident_data);
 	else
 		printf("Unknown protocol device\n");
-	if (bootverbose && path->device->serial_num_len > 0) {
+	if (path->device->serial_num_len > 0) {
 		/* Don't wrap the screen  - print only the first 60 chars */
 		printf("%s%d: Serial Number %.60s\n", periph->periph_name,
 		       periph->unit_number, path->device->serial_num);



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