data integrity

Comments, questions, bug reports, etc.
Post Reply
bliblubli
Posts: 88
Joined: Thu Dec 31, 2015 10:45 am

data integrity

Post by bliblubli »

For deduplication, wimlib already has the sha-1 checksum of each file. Am I right?
So what is the --check option for? A sha-1 for the whole archive or per image?
synchronicity
Site Admin
Posts: 474
Joined: Sun Aug 02, 2015 10:31 pm

Re: data integrity

Post by synchronicity »

WIM archives contain the SHA-1 message digest of each file (actually, each stream of each file; a file might contain multiple streams), and wimlib always verifies these when extracting. The metadata resource for each image is also checksummed in the same way. You can also manually verify all checksums using the 'wimverify' command.

What the --check option does is add an additional "integrity table" that contains SHA-1 message digests over the raw data of the WIM archive. In some ways this is redundant, but it's an additional option for those who want it.
bliblubli
Posts: 88
Joined: Thu Dec 31, 2015 10:45 am

Re: data integrity

Post by bliblubli »

It's a pleasure to test your program. Your support also really makes happy :)
Post Reply