I've published a detailed RFC for deep NTFS structural repair (addressing B-Tree corruption, $Bitmap inconsistencies, and MFT reconstruction) which is currently missing from existing open-source tools like ntfsprogs.
I used a strict clean-room approach (black-box observation) to ensure the specification is legally safe for open-source implementations. My goal is to provide a solid foundation for anyone wanting to build a real 'chkdsk' equivalent for Linux or ReactOS. The RFC includes a 16-phase repair logic and detailed pseudo-code for complex structures like B-Trees and Journal replaying. Feel free to use the logic or the pseudo-code for your own projects!
seb3773•2h ago
I used a strict clean-room approach (black-box observation) to ensure the specification is legally safe for open-source implementations. My goal is to provide a solid foundation for anyone wanting to build a real 'chkdsk' equivalent for Linux or ReactOS. The RFC includes a 16-phase repair logic and detailed pseudo-code for complex structures like B-Trees and Journal replaying. Feel free to use the logic or the pseudo-code for your own projects!