From e19e522df0a4f8bf25bfb46505f5dc67c60b1c31 Mon Sep 17 00:00:00 2001 From: Milan Broz Date: Sun, 12 Jul 2020 12:40:48 +0200 Subject: [PATCH] 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 --- misc-utils/lsblk.c | 1 + 1 file changed, 1 insertion(+) diff --git a/misc-utils/lsblk.c b/misc-utils/lsblk.c index 3f21dcee2b..1ec709019c 100644 --- a/misc-utils/lsblk.c +++ b/misc-utils/lsblk.c @@ -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': -- 2.47.3