From: Daniel Golle Date: Fri, 23 Sep 2016 03:10:05 +0000 (+0200) Subject: block: also probe loop devices X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bb2239de848e7289856068ba0952bb4492c395d8;p=oweals%2Ffstools.git block: also probe loop devices Signed-off-by: Daniel Golle --- diff --git a/block.c b/block.c index b8ef430..843d402 100644 --- a/block.c +++ b/block.c @@ -518,6 +518,7 @@ static void cache_load(int mtd) _cache_load("/dev/ubiblock*"); _cache_load("/dev/ubi[0-9]*"); } + _cache_load("/dev/loop*"); _cache_load("/dev/mmcblk*"); _cache_load("/dev/sd*"); _cache_load("/dev/hd*");