From f2927861c56167c8e8ca633b38ba5e703228e4c3 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Thu, 20 May 2004 01:30:03 +0000 Subject: Partition search comments. --- src/search.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/search.c b/src/search.c index 2d9ee35..834bd32 100644 --- a/src/search.c +++ b/src/search.c @@ -26,7 +26,17 @@ void scroungeSearch(partitioninfo* pi) fprintf(stderr, "[Performing NTFS partition search...]"); errx(1, "search functionality not implemented yet."); - /* go through all sectors until we find an MFT record */ - /* that isn't the MFT mirror */ + /* + * go through and look for an $MFTMirr file record. First of all + * these should be exactly 4096 bytes long. This allows us + * to discover the length of a cluster, using both the data + * runs in the $MFTMirr and the cbAllocated. + * + * Determine if it's the $MFTMirr or $MFT we're looking at + * + * Next using this cluster information we can discover the + * beginning of the partition, + */ + } -- cgit v1.2.3