mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Prints the operation done before proceeding.
This commit is contained in:
parent
9195f60a36
commit
a8c87614f1
1 changed files with 4 additions and 0 deletions
4
pool.c
4
pool.c
|
|
@ -171,6 +171,8 @@ void state_pool(struct snapraid_state* state)
|
|||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
printf("Cleaning...\n");
|
||||
|
||||
/* pool directory with final slash */
|
||||
pathprint(pool_dir, sizeof(pool_dir), "%s", state->pool);
|
||||
pathslash(pool_dir, sizeof(pool_dir));
|
||||
|
|
@ -184,6 +186,8 @@ void state_pool(struct snapraid_state* state)
|
|||
/* first clear the previous pool tree */
|
||||
clean_dir(state, pool_dir);
|
||||
|
||||
printf("Pooling...\n");
|
||||
|
||||
/* for each disk */
|
||||
count = 0;
|
||||
for(i=state->disklist;i!=0;i=i->next) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue