diff options
author | Stef Walter <stef@thewalter.net> | 2011-01-23 14:47:41 -0600 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2011-01-23 14:47:41 -0600 |
commit | bad8106bc0fc8f509e9a29d7de301dc46d604abe (patch) | |
tree | 6668c79d0c2daf63bc72a8225d91f11bfaa0cb65 /src/scrounge.c | |
parent | 0ce28cbfed5d711405dbfd85f7321b824842e47a (diff) |
Various output and progress tweaks.
Diffstat (limited to 'src/scrounge.c')
-rw-r--r-- | src/scrounge.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/scrounge.c b/src/scrounge.c index a5670d7..61c2987 100644 --- a/src/scrounge.c +++ b/src/scrounge.c @@ -184,6 +184,12 @@ void processMFTRecord(partitioninfo* pi, uint64 sector, uint32 flags) if(!fcscmp(basics.filename, FC_DOT)) RETURN; +#if 0 + printf("SECTOR: %llu", (unsigned long long)sector); +#endif + printf(flags & PROCESS_MFT_FLAG_SUB ? + "\\" FC_PRINTF : "\\" FC_PRINTF "\n", basics.filename); + /* System, Hidden files that begin with $ are skipped */ if(basics.flags & kNTFS_FileSystem && basics.flags & kNTFS_FileHidden && @@ -205,9 +211,6 @@ void processMFTRecord(partitioninfo* pi, uint64 sector, uint32 flags) } } - printf(flags & PROCESS_MFT_FLAG_SUB ? - "\\" FC_PRINTF : "\\" FC_PRINTF "\n", basics.filename); - /* Directory handling: */ if(header->flags & kNTFS_RecFlagDir) { |