Free Disk Editor
Posted: Mon Aug 11, 2008 4:49 pm
Hi. I just finished writing a DLL that finds a file on disk and locates its LCN then I use that to convert into Physical Address and as far as I can tell it works fine, but I need proof before I commit it to my project, so does anyone know a good and free disk editor that shows you the physical address of a file on disk. It must be able to read an NTFS disk and display the physical address of a file on disk. I have tried ntfsread and it doesn't show you enough information; I think it trys to convert everything to CHS style, so I never see the true stuff. Thanks and I might be wrong about ntfsread so I will give it another go, but until then I would appreciate your input. Also, I cannot find Norton Disk Editor, so a link to that or something equivalent would be swell. thanks again
UPDATE: OK, I checked it again and it just tells me the Logical Number 1171368 (whatever that means). Now, I don't think that is the LCN for two reasons:
01. I am booted outside Windows when I read the disc using NTFSREAD, so the LCN would not apply.
02. The LCN I return is 146421 or 0x23BF5
Now, I don't think that is the physical address either. Could it be a literal sector/cluster count and not the byte offset? If so, then NTFSREAD is no good for me and if not, then maybe I am wrong. I return:
Phy Addr: 0x23BFCE00
That *should* be the physical byte offset on the volume from 0? Am I wrong?
UPDATE: OK, I checked it again and it just tells me the Logical Number 1171368 (whatever that means). Now, I don't think that is the LCN for two reasons:
01. I am booted outside Windows when I read the disc using NTFSREAD, so the LCN would not apply.
02. The LCN I return is 146421 or 0x23BF5
Now, I don't think that is the physical address either. Could it be a literal sector/cluster count and not the byte offset? If so, then NTFSREAD is no good for me and if not, then maybe I am wrong. I return:
Phy Addr: 0x23BFCE00
That *should* be the physical byte offset on the volume from 0? Am I wrong?