http://qs1969.pair.com?node_id=523447


in reply to Getting MFT info from NTFS!

Hi, i'm not sure which information you want but i know of the NTFS_STATISTICS structure. Use the controlcode FSCTL_FILESYSTEM_GET_STATISTICS for querying this information

HTH

Replies are listed 'Best First'.
Re^2: Getting MFT info from NTFS!
by Ace128 (Hermit) on Jan 16, 2006 at 11:33 UTC
    Well, basicly I wanna get all sectors (in right order aswell) a file lies in on hd! Since I made an application in Perl to read raw, it would be even more nice if I could get that info out (in case of a crasch, I could have that information saved somewhere, eventhough the ntfs mtf is gone. You know, even if the filestructure is gone, data may still be recoverable!) So, I wanna find a way to get that out _before_ its too late! This is ofcource specially needed when the hd is fragmented. Else there is no real problem...