From a286195976aceae7ef8c61715b28f9d7d005eb99 Mon Sep 17 00:00:00 2001 From: Christophe Grenier Date: Sun, 1 Mar 2009 19:56:46 +0100 Subject: [PATCH] PhotoRec: Use "Disk identification, please wait..." and "Filesystem analysis, please wait..." messages --- src/phmain.c | 2 +- src/ppartsel.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/phmain.c b/src/phmain.c index fade7add..94b97b54 100644 --- a/src/phmain.c +++ b/src/phmain.c @@ -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) diff --git a/src/ppartsel.c b/src/ppartsel.c index a1e042b4..64346178 100644 --- a/src/ppartsel.c +++ b/src/ppartsel.c @@ -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 */