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:
01c0caf
)
ubox fix extroot delay
author
Peter Wagner
<tripolar@gmx.at>
Thu, 11 Jul 2013 10:02:06 +0000
(10:02 +0000)
committer
John Crispin
<blogic@openwrt.org>
Thu, 11 Jul 2013 16:27:28 +0000
(18:27 +0200)
This patches fixes the extroot delay. It creates the devicefiles again
when no device was found and updates the device list afterwards.
Signed-off-by: Peter Wagner <tripolar@gmx.at>
block.c
patch
|
blob
|
history
diff --git
a/block.c
b/block.c
index 2108a8dab0d4eb557109b5b6b1d3337aed33db16..18c9299961a4b55aa12ae98521a3c65e9bb20bf5 100644
(file)
--- a/
block.c
+++ b/
block.c
@@
-712,6
+712,8
@@
static int mount_extroot(char *cfg)
if (!pr && delay_root){
fprintf(stderr, "extroot: is not ready yet, retrying in %ui seconds\n", delay_root);
sleep(delay_root);
+ mkblkdev();
+ cache_load(0);
pr = find_block_info(m->uuid, m->label, NULL);
}
if (pr) {