Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Oct 2013 12:59:40 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r256533 - head/sys/cam
Message-ID:  <201310151259.r9FCxeTC005849@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Tue Oct 15 12:59:40 2013
New Revision: 256533
URL: http://svnweb.freebsd.org/changeset/base/256533

Log:
  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.
  
  Requested by:	glebius
  MFC after:	1 week

Modified:
  head/sys/cam/cam_xpt.c

Modified: head/sys/cam/cam_xpt.c
==============================================================================
--- head/sys/cam/cam_xpt.c	Tue Oct 15 12:58:41 2013	(r256532)
+++ head/sys/cam/cam_xpt.c	Tue Oct 15 12:59:40 2013	(r256533)
@@ -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?201310151259.r9FCxeTC005849>