summaryrefslogtreecommitdiffstats
path: root/src/analyse.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2009-08-18 09:13:37 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2009-08-18 09:13:37 +0200
commit1f9997af851d03798ffff957c0d462d5c9ce1afe (patch)
tree87997ed42d5777700cd1bc16b6efa2db5241d1b3 /src/analyse.c
parent32babefd2d759fd0905ea00cc73c71fe07645938 (diff)
TestDisk: locate ZFS partition beginning
Diffstat (limited to 'src/analyse.c')
-rw-r--r--src/analyse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/analyse.c b/src/analyse.c
index 19b2dbb..ced1d55 100644
--- a/src/analyse.c
+++ b/src/analyse.c
@@ -53,6 +53,7 @@
#include "sysv.h"
#include "ufs.h"
#include "xfs.h"
+#include "zfs.h"
#include "log.h"
int search_NTFS_backup(unsigned char *buffer, disk_t *disk_car,partition_t *partition, const int verbose, const int dump_ind)
@@ -223,6 +224,7 @@ int search_type_16(unsigned char *buffer, disk_t *disk_car,partition_t *partitio
return -1;
/* Test UFS */
if(recover_ufs(disk_car,(const struct ufs_super_block*)buffer,partition,verbose,dump_ind)==0) return 1;
+ if(recover_ZFS(disk_car,(const struct vdev_boot_header*)buffer,partition,verbose,dump_ind)==0) return 1;
return 0;
}