From: Daniel Golle Date: Sat, 24 Dec 2022 15:21:41 +0000 (+0000) Subject: block: recognize /dev/fit* block devices X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=41e619ed1352eba4ae51b6cf9d18cd62dbfeaa6f;p=project%2Ffstools.git block: recognize /dev/fit* block devices Prepare for /dev/fit* block devices of the upcoming uImage.FIT sub-image block driver which are going to be used as rootfs (fit0) as well as rootfs_data (fitrw) in some cases. Signed-off-by: Daniel Golle --- diff --git a/block.c b/block.c index 9b7c49c..37f5bfb 100644 --- a/block.c +++ b/block.c @@ -593,6 +593,7 @@ static void cache_load(int mtd) _cache_load("/dev/vd*"); _cache_load("/dev/xvd*"); _cache_load("/dev/dm-*"); + _cache_load("/dev/fit*"); }