windowsfilefilesystemschecksumntfs

Getting a file checksum directly from the filesystem instead of calculating it explicitly


I'm guessing that a typical filesystem tends to keep some kind of checksum/CRC/hash of every file it manages, so it can detect file corruption.

Is that guess correct? And if yes, is there a way to access it?

I'm primarily interested in Windows and NTFS, but comments on other platforms would be welcome as well... Language is unimportant at this point, but I'd like to avoid assembler if possible.


Solution

  • OK, it appears that what I'm asking is impossible.

    BTW, this was also discussed here: In Windows file systems, is there a pre-computed hash for each file?