mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-30 03:47:05 -05:00
Extend --force-device to ignore more erroneous conditions
We want to allow fix also if some disk is unaccessible, and content files not present.
This commit is contained in:
parent
841e6306e3
commit
3e83b15bbb
12 changed files with 223 additions and 83 deletions
|
|
@ -282,7 +282,11 @@ void state_search_array(struct snapraid_state* state)
|
|||
for (i = state->disklist; i != 0; i = i->next) {
|
||||
struct snapraid_disk* disk = i->data;
|
||||
|
||||
msg_progress("Scanning disk %s...\n", disk->name);
|
||||
/* skip data disks that are not accessible */
|
||||
if (disk->skip_access)
|
||||
continue;
|
||||
|
||||
msg_progress("Searching disk %s...\n", disk->name);
|
||||
|
||||
search_dir(state, disk, disk->dir, "");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue