How to get LBA(logical block addressing) of a file from MFT on NTFS file system?
I accessed the $MFT file and extracted file attributes. Given the file attributes from MFT, how to get a LBA of file from the MFT record on NTFS file system? To calculate LBA, I know that cluster number of file. It that possible using cluster number to calculate? I'm not entirely sure of your question-- But if you're simply trying to find the logical location on disk of a file, there are various IOCTLs that will achieve this. For instance, MFT File records: FSCTL_GET_NTFS_FILE_RECORD http://msdn.microsoft.com/en-us/library/windows/desktop/aa364568(v=vs.85).aspx Location on disk of a specific