Hacker News new | past | comments | ask | show | jobs | submit login

No way to tell if it's changed if you don't store a hash as metadata.

Something like ZFS where hashing is baked into the cost of the FS operation could optimise this.




But if you control the kernel and all the code that runs in the kernel, you know exactly who has written to disk and when. So if nobody wrote that data, then it hasn't changed.


Removable media, network drives, low level disk operations? I don't think you can know with 100% certainty on a window machine


Would the currently running OS know if another OS changed the file?


Can assume a single OS.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: