Hacker News new | ask | show | jobs
by zamalek 2564 days ago
You've missed the point of the article entirely. A single bit-flip (which is almost guaranteed over long-term) can easily render the entire xz file corrupt.

This has nothing to do with xattrs/etc.

2 comments

Yes, I am totally on auto-pilot today. I'm used to a different article that gets re-posted often about xz and my browser blocks non-https sites so I assumed it was that other article.

That said, I use xz in automation that compresses files on one end and decompresses on the other. I've not had any file corruption thus far. checksums always match. Hopefully the author has submitted bug reports and ways to reproduce.

I've been using tar+pixz+par2 for backups for a while now, but this article still worries me.

What can I replace pixz with that compresses as well and keeps the indexing functionality? I'd like to avoid zstd because Facebook.