]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lsblk: use ID_PART_ENTRY_SCHEME as fallback for PTTYPE
authorKarel Zak <kzak@redhat.com>
Thu, 22 May 2025 08:01:03 +0000 (10:01 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 22 May 2025 08:01:03 +0000 (10:01 +0200)
commit23a7e0865ad56c46a69084974182b9979592b867
treee2097e6637b0c1e7be74a95cc81f04ad6e038b80
parent4daee3ce9485d1ace09d789b9332aa8f57606d21
lsblk: use ID_PART_ENTRY_SCHEME as fallback for PTTYPE

The udev database typically inherits the ID_PART_TABLE_TYPE property
from the entire disk device to its partitions. However, in some cases,
this property may be missing. Fortunately, blkid/udev also provides
ID_PART_ENTRY_SCHEME for all partitions.

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