From: Jo-Philipp Wich Date: Fri, 19 Jul 2013 13:44:46 +0000 (+0200) Subject: block: also handle /dev/mdX (softraid) and /dev/mapper/* (LVM2) devices X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9103ce9551882ebcb1aa34f1bdd3e1b2e2a8d93c;p=oweals%2Fubox.git block: also handle /dev/mdX (softraid) and /dev/mapper/* (LVM2) devices --- diff --git a/block.c b/block.c index 7d0781e..edfa627 100644 --- a/block.c +++ b/block.c @@ -346,6 +346,8 @@ static void cache_load(int mtd) _cache_load("/dev/sd*"); _cache_load("/dev/sdc*"); _cache_load("/dev/hd*"); + _cache_load("/dev/md*"); + _cache_load("/dev/mapper/*"); } static int print_block_info(struct blkid_struct_probe *pr)