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
This commit is contained in:
parent
7caf4ab7ac
commit
aa93041d2c
@ -1043,7 +1043,7 @@ xpt_announce_periph(struct cam_periph *periph, char *announce_string)
|
||||
(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);
|
||||
|
Loading…
Reference in New Issue
Block a user