]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lsblk: try device/dev to read devno
authorKarel Zak <kzak@redhat.com>
Fri, 9 Feb 2018 13:18:18 +0000 (14:18 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 9 Feb 2018 13:18:18 +0000 (14:18 +0100)
commitd51f05bfecb299a830897106460bf395be440c0a
tree5a35c8efdedfc35aade35715a281b0d86b264b8f
parent256298191cb09e04af6d44d434a35c7e9c203a42
lsblk: try device/dev to read devno

Now sysfs_devname_to_devno() reads devno from /dev or
/sys/block/<name>/dev, but it seems that NVME uses
/sys/block/<name>/device/dev.

Reported-by: Potnuri Bharat Teja <bharat@chelsio.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
lib/sysfs.c