]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lsblk: don't ask udev when --sysroot specified
authorKarel Zak <kzak@redhat.com>
Tue, 11 Sep 2018 07:53:18 +0000 (09:53 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 11 Sep 2018 07:53:18 +0000 (09:53 +0200)
commit137599ebe152ae10ff6fa492956a65f173623f04
treee459055e6009186d8ed19953e7c9c42d73b245b6
parentf1a7cfcb1d487c19c27287fe5136c46f3b7de1ab
lsblk: don't ask udev when --sysroot specified

We use --sysroot to get information about block devices from /proc and
/sys dumps. In this case does not make sense to read anything from
udev as udevd is about the current system devices.

Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/lsblk.c