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>
if (!pr && delay_root){
fprintf(stderr, "extroot: is not ready yet, retrying in %ui seconds\n", delay_root);
sleep(delay_root);
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) {
pr = find_block_info(m->uuid, m->label, NULL);
}
if (pr) {