summaryrefslogtreecommitdiffstats
path: root/src/tdisksel.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-10-07 20:56:20 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2008-10-07 20:56:20 +0200
commit7f62071c624a4441e046d9ffdd0ca60332a1b392 (patch)
treec8bf75eca3a421693d046e1d2f4ccbb4f2980681 /src/tdisksel.c
parente86b823143e83f20043835ae32c2179843622f54 (diff)
Display a warning if HPA or DCO is present
Diffstat (limited to 'src/tdisksel.c')
-rw-r--r--src/tdisksel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tdisksel.c b/src/tdisksel.c
index 528dba1..561a043 100644
--- a/src/tdisksel.c
+++ b/src/tdisksel.c
@@ -46,6 +46,7 @@
#include "diskacc.h"
#include "tdiskop.h"
#include "tdisksel.h"
+#include "hidden.h"
#ifdef HAVE_NCURSES
#define NBR_DISK_MAX (LINES-6-8)
@@ -175,6 +176,7 @@ static int testdisk_disk_selection_ncurses(int verbose,int dump_ind, const list_
autoset_unit(disk);
if(interface_check_disk_capacity(disk)==0 &&
interface_check_disk_access(disk, current_cmd)==0 &&
+ interface_check_hidden(disk, current_cmd)==0 &&
interface_partition_type(disk, verbose, current_cmd)==0)
{
if(menu_disk(disk, verbose, dump_ind, saveheader, current_cmd))