lsblk: Add SERIAL column to the SCSI output mode.
PATCH 1/1 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 <[email protected]>
--- misc-utils/lsblk.c | 1 + 1 file changed, 1 insertion(+)
misc-utils/lsblk.c +1 -0
@@ -1994,6 +1994,7 @@ int main(int argc, char *argv[])add_uniq_column (COL_VENDOR );add_uniq_column (COL_MODEL );add_uniq_column (COL_REV ); +add_uniq_column (COL_SERIAL );add_uniq_column (COL_TRANSPORT );break ;case 'T' :
Signature · 1 line
2.27.0
Quoted 2 lines · Milan Broz
misc-utils/lsblk.c | 1 + 1 file changed, 1 insertion(+)
Applied, thanks.
Signature · 2 lines
Karel Zak <[email protected]> http://karelzak.blogspot.com