lsblk: Add SERIAL column to the SCSI output mode.
If there are several identical disks, disk serial number can help to distinguish exact drive. This could be helpful in debugging RAID failures and similar problems. Signed-off-by: Milan Broz <gmazyland@gmail.com>
This commit is contained in:
parent
ed554da252
commit
e19e522df0
|
@ -1994,6 +1994,7 @@ int main(int argc, char *argv[])
|
||||||
add_uniq_column(COL_VENDOR);
|
add_uniq_column(COL_VENDOR);
|
||||||
add_uniq_column(COL_MODEL);
|
add_uniq_column(COL_MODEL);
|
||||||
add_uniq_column(COL_REV);
|
add_uniq_column(COL_REV);
|
||||||
|
add_uniq_column(COL_SERIAL);
|
||||||
add_uniq_column(COL_TRANSPORT);
|
add_uniq_column(COL_TRANSPORT);
|
||||||
break;
|
break;
|
||||||
case 'T':
|
case 'T':
|
||||||
|
|
Loading…
Reference in New Issue