summaryrefslogtreecommitdiffstats
path: root/src/adv.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-07-07 22:26:08 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2008-07-07 22:26:08 +0200
commita6c66ab40b91064e4a86a65b219feda3c043f658 (patch)
treeef5a1b1115587fed6433303a1bb31788df756f5a /src/adv.c
parentb2e6b6f55f2791a231b7b6c88f98cb624d13aff1 (diff)
TestDisk: add /cmd device advanced,list parameter
Diffstat (limited to 'src/adv.c')
-rw-r--r--src/adv.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/adv.c b/src/adv.c
index bd1e9ed..e26e36e 100644
--- a/src/adv.c
+++ b/src/adv.c
@@ -317,6 +317,11 @@ void interface_adv(disk_t *disk_car, const int verbose,const int dump_ind, const
(*current_cmd)+=4;
command='c';
}
+ else if(strncmp(*current_cmd,"list",4)==0)
+ {
+ (*current_cmd)+=4;
+ command='l';
+ }
else if(strncmp(*current_cmd,"superblock",10)==0)
{
(*current_cmd)+=10;