TestDisk: Also search for backup boot sector/backup superblock during Quick Search

This commit is contained in:
Christophe Grenier 2013-05-25 10:47:46 +02:00
parent 4a26cd4a96
commit 08c2109273

View file

@ -610,10 +610,6 @@ static list_part_t *search_part(disk_t *disk_car, const list_part_t *list_part_o
test_nbr++;
}
if(res<=0 && test_nbr==1)
{
if(fast_mode==0)
test_nbr=6;
else
{
if((disk_car->arch==&arch_i386 &&
((start.sector==7 && (start.head<=2 || fast_mode>1)) ||
@ -623,7 +619,6 @@ static list_part_t *search_part(disk_t *disk_car, const list_part_t *list_part_o
res=search_FAT_backup(buffer_disk,disk_car,partition,verbose,dump_ind);
test_nbr++;
}
}
if(res<=0 && test_nbr==2)
{
if((disk_car->arch==&arch_i386 &&