580272ed41
The canonical device name is not necessarily used in /proc/mounts or
/proc/self/mountinfo, see /dev/dm-0 vs. /dev/mapper/dmroot. (And only
checking by major:minor is not possible in the case of btrfs.)
Also fixes another bug where e.g. dm-10 would match when really only
dm-1 was mounted, or when the mountpoint path included the device name,
etc.
Also catches enabled swap.
(cherry picked from commit
|
||
---|---|---|
.. | ||
Makefile | ||
udev-block-add-change | ||
udev-block-cleanup | ||
udev-block-remove | ||
udev-qubes-block.rules | ||
udev-qubes-misc.rules | ||
udev-qubes-usb.rules | ||
udev-usb-add-change | ||
udev-usb-remove |