projects
/
project
/
fstools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe22281
)
block: detect /dev/ubiblock*
author
daniel
<daniel@makrotopia.org>
Mon, 12 May 2014 19:48:13 +0000
(21:48 +0200)
committer
daniel
<daniel@makrotopia.org>
Mon, 12 May 2014 19:48:13 +0000
(21:48 +0200)
block.c
patch
|
blob
|
history
diff --git
a/block.c
b/block.c
index 9122ebf400e5aaa07f20ee5c5b1d8e15b5d2db2c..a1609b4d17a54fc4b2c61e7169cf5723c90462e5 100644
(file)
--- 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*");