Given a file, how can I get the LBA ranges corresponding to the file? Can FSCTL_GET_RETRIEVAL_POINTERS do the job?
Yes, it will help you. Note that if you're trying to get down lower, you might need a littlemore; the file system thinks in clusters, for example, while you may not be thinking in clusters).
精彩评论