直接从文件系统获取文件校验和,而不是显式计算 [英] Getting a file checksum directly from the filesystem instead of calculating it explicitly
问题描述
这猜测是正确的吗?如果是,有没有办法访问它?
我主要对Windows和NTFS感兴趣,但对其他平台的评论也是受欢迎的...语言在这一点上是不重要的,但我想尽可能避免汇编。
谢谢。
好的,看来我所要求的是不可能的。
顺便说一下,这里也讨论了这个问题:在Windows文件系统中,每个文件都有一个预先计算的哈希值?
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.
Thanks.
OK, it appears that what I'm asking is impossible.
BTW, this was also discussed here: There is in Windows file systems a pre computed hash for each file?
这篇关于直接从文件系统获取文件校验和,而不是显式计算的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!