]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lsblk: always use "part" as TYPE for partitions
authorKarel Zak <kzak@redhat.com>
Wed, 3 Oct 2018 12:39:57 +0000 (14:39 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 3 Oct 2018 12:39:57 +0000 (14:39 +0200)
commitef2ce68b1f65f22f86272dc60902f9202380acd9
tree0d3cbdc684d72f6eaea90a4cfdb2f3a6b7b35c6a
parentf1a7a86d1b29476ab809a55f49bddbe3dcf280db
lsblk: always use "part" as TYPE for partitions

The current code uses "part" or "disk" only if nothing else is
possible to recognize. It means for example partitions on loops (or
RAIDs, etc) are marked as "loop" rather than "part".

Addresses: https://github.com/karelzak/util-linux/issues/700
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/lsblk.c