You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Have you thought about storing a checksum for files somewhere to make it possible to detect corruption?
I'm thinking about changing my file format for firmware binaries to include a checksum, but I'm wondering whether it wouldn't be better to do at file system level (mostly because my firmware files are currently just a ROM dump and I like to keep things simple 😉)
The text was updated successfully, but these errors were encountered:
benpicco
changed the title
store checksum for files
[feature request] store checksum for files
Jun 12, 2015
I agree. Adding crc as a fs feature is very specific, and would also force each write to reread the whole file each time to be robust. Also, one crc (e.g. 16bit ccitt) might not suit some other, so I feel it best leaving this to the user.
Hi,
Have you thought about storing a checksum for files somewhere to make it possible to detect corruption?
I'm thinking about changing my file format for firmware binaries to include a checksum, but I'm wondering whether it wouldn't be better to do at file system level (mostly because my firmware files are currently just a ROM dump and I like to keep things simple 😉)
The text was updated successfully, but these errors were encountered: