From 23658c37939b07f8efc32ca70f1b7980baf2a4c0 Mon Sep 17 00:00:00 2001 From: Christophe Grenier Date: Sun, 31 Mar 2013 09:10:05 +0200 Subject: [PATCH] Display information during Image Creation --- src/dimage.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/dimage.c b/src/dimage.c index 2a896b81..00b27968 100644 --- a/src/dimage.c +++ b/src/dimage.c @@ -137,6 +137,27 @@ int disk_image(disk_t *disk, const partition_t *partition, const char *image_dd) wprintw(window,"%s\n",disk->description_short(disk)); wmove(window,6,0); aff_part(window,AFF_PART_ORDER|AFF_PART_STATUS,disk,partition); + wmove(window,10,0); + waddstr(window, "Disk images are mainly used "); + wmove(window,11,0); + waddstr(window, "- for forensics purpose"); + wmove(window,12,0); + waddstr(window, "- or to deal with media with bad sectors"); +#ifdef WIN32 + wmove(window,14,0); + waddstr(window, "To use TestDisk or PhotoRec with this disk image, go in command line and run"); + wmove(window,15,0); + waddstr(window, " testdisk_win.exe image.dd"); + wmove(window,16,0); + waddstr(window, "or photorec_win.exe image.dd"); +#else + wmove(window,14,0); + waddstr(window, "To use TestDisk or PhotoRec with this disk image, start a Terminal and run"); + wmove(window,15,0); + waddstr(window, " testdisk image.dd"); + wmove(window,16,0); + waddstr(window, "or photorec image.dd"); +#endif wmove(window,22,0); wattrset(window, A_REVERSE); waddstr(window," Stop ");