block: use /dev/dm-* instead of /dev/mapper/*
authorDaniel Golle <daniel@makrotopia.org>
Fri, 23 Jul 2021 21:32:56 +0000 (22:32 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 23 Jul 2021 21:34:53 +0000 (22:34 +0100)
commit9ab3551c64620a3a5c79bcdcfb270890b4e6cf1a
tree2dc80ea3ae296504745c3ee8498c78ca4a3d54d7
parent06334ac9f0f2cfa8da4a55293e8db9a37065b477
block: use /dev/dm-* instead of /dev/mapper/*

This avoids a lot of problems as hotplug events also arrive for the
/dev/dm-* names.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
block.c