PhotoRec: Use "Disk identification, please wait..." and "Filesystem analysis, please wait..." messages

This commit is contained in:
Christophe Grenier 2009-03-01 19:56:46 +01:00
parent 326cfc953c
commit a286195976
2 changed files with 5 additions and 1 deletions

View file

@ -269,7 +269,7 @@ int main( int argc, char **argv )
}
aff_copy(stdscr);
wmove(stdscr,5,0);
wprintw(stdscr, "Please wait...\n");
wprintw(stdscr, "Disk identification, please wait...\n");
wrefresh(stdscr);
#endif
if(log_handle!=NULL)

View file

@ -392,6 +392,10 @@ void menu_photorec(disk_t *disk_car, const int verbose, const char *recup_dir, f
}
if(carve_free_space_only>0)
{
aff_copy(stdscr);
wmove(stdscr,5,0);
wprintw(stdscr, "Filesystem analysis, please wait...\n");
wrefresh(stdscr);
blocksize=remove_used_space(disk_car, partition, list_search_space);
/* Only free space is carved, list_search_space is modified.
* To carve the whole space, need to quit and reselect the partition */