From 01e8989b9354bb85f6abd06a3c76617206c79002 Mon Sep 17 00:00:00 2001 From: daniel Date: Mon, 12 May 2014 21:48:13 +0200 Subject: [PATCH] block: detect /dev/ubiblock* --- block.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/block.c b/block.c index 9122ebf..a1609b4 100644 --- a/block.c +++ b/block.c @@ -474,8 +474,10 @@ static int _cache_load(const char *path) static void cache_load(int mtd) { - if (mtd) + if (mtd) { _cache_load("/dev/mtdblock*"); + _cache_load("/dev/ubiblock*"); + } _cache_load("/dev/mmcblk*"); _cache_load("/dev/sd*"); _cache_load("/dev/hd*"); -- 2.30.2