diff options
author | Karel Zak | 2013-07-08 14:21:03 +0200 |
---|---|---|
committer | Karel Zak | 2013-07-08 14:24:31 +0200 |
commit | d828dfdfb258367c58819411b2f226da6533b92d (patch) | |
tree | 70dffd7feef089b545c08e6b9f02a30e84278ff8 /include/c.h | |
parent | lsblk: use devno to get mountpoint (diff) | |
download | kernel-qcow2-util-linux-d828dfdfb258367c58819411b2f226da6533b92d.tar.gz kernel-qcow2-util-linux-d828dfdfb258367c58819411b2f226da6533b92d.tar.xz kernel-qcow2-util-linux-d828dfdfb258367c58819411b2f226da6533b92d.zip |
lsblk: use devno to check if the filesystem is mounted
The device (for example LVM logical volume) could be renamed and then
the device name from /proc/self/mountinfo does not match with reality.
So, we also need to check devno. Unfortunately we cannot completely
rely on devno, because for example btrfs uses psudo device numbers.
References: https://bugzilla.redhat.com/show_bug.cgi?id=980463
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include/c.h')
0 files changed, 0 insertions, 0 deletions