From: Milan Broz Date: Sun, 12 Jul 2020 10:40:48 +0000 (+0200) Subject: lsblk: Add SERIAL column to the SCSI output mode. X-Git-Tag: v2.36~49 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e19e522df0a4f8bf25bfb46505f5dc67c60b1c31;p=thirdparty%2Futil-linux.git 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 --- 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':