diff options
author | Daniel Golle <daniel@makrotopia.org> | 2021-07-23 22:32:56 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2021-07-23 22:34:53 +0100 |
commit | 9ab3551c64620a3a5c79bcdcfb270890b4e6cf1a (patch) | |
tree | 2dc80ea3ae296504745c3ee8498c78ca4a3d54d7 | |
parent | 06334ac9f0f2cfa8da4a55293e8db9a37065b477 (diff) | |
download | fstools-9ab3551c64620a3a5c79bcdcfb270890b4e6cf1a.tar.gz |
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>
-rw-r--r-- | block.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -533,7 +533,7 @@ static void cache_load(int mtd) _cache_load("/dev/nvme*"); _cache_load("/dev/vd*"); _cache_load("/dev/xvd*"); - _cache_load("/dev/mapper/*"); + _cache_load("/dev/dm-*"); } |