xsum/README.md

16 lines
537 B
Markdown
Raw Normal View History

2019-09-05 00:39:23 +00:00
# xsum
2019-10-03 12:43:02 +00:00
This stores a file mtime, a size, and a cryptographically secure content checksum
2019-09-05 00:39:23 +00:00
in an xattr, so that you can verify that your files aren't corrupted
on filesystems that are dumb and don't include data checksums (e.g. apfs)
2019-10-03 12:43:02 +00:00
# background
You can dd a few random bytes into the middle of an hfs+ or apfs filesystem,
and, if they land in file data, an fsck/Disk First Aid on the filesystem
will pass with flying colors. There is no file content checksum.
2019-09-05 00:39:23 +00:00
# author
2019-10-03 12:43:02 +00:00
Jeffrey Paul [sneak@sneak.berlin](mailto:sneak@sneak.berlin)