From 9103ce9551882ebcb1aa34f1bdd3e1b2e2a8d93c Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 19 Jul 2013 15:44:46 +0200 Subject: [PATCH] block: also handle /dev/mdX (softraid) and /dev/mapper/* (LVM2) devices --- block.c | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.25.1