]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lsblk: add PARTN column
authorKarel Zak <kzak@redhat.com>
Mon, 5 Sep 2022 07:01:42 +0000 (09:01 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 5 Sep 2022 07:08:53 +0000 (09:08 +0200)
commite4ed8665e159229f5ae79dc16a041ba18e9d9428
tree255dfde56e4b8215bc6f74c520164deab13d65d9
parentb22a3bb51cd070ab17c2b68ff78a181b7c2e19af
lsblk: add PARTN column

Add PARTN column, the source for this column is ID_PART_ENTRY_NUMBER
from udev db, the original source of this information comes from
libblkid. There is also another PARTN in udevdb, but it's based on
data from kernel uevent.

Fixes: https://github.com/util-linux/util-linux/issues/1787
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/lsblk-properties.c
misc-utils/lsblk.c
misc-utils/lsblk.h