projects
/
oweals
/
ubox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1ebbe9
)
block: also handle /dev/mdX (softraid) and /dev/mapper/* (LVM2) devices
author
Jo-Philipp Wich
<jow@openwrt.org>
Fri, 19 Jul 2013 13:44:46 +0000
(15:44 +0200)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Fri, 19 Jul 2013 13:44:46 +0000
(15:44 +0200)
block.c
patch
|
blob
|
history
diff --git
a/block.c
b/block.c
index 7d0781ec2d1c8933a46f7155eb2ecf60bda85576..edfa62759efe2ead96bf3d3dd5968ad17fb42126 100644
(file)
--- 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)