What does the --check option gain?

Comments, questions, bug reports, etc.
Post Reply
chungy
Posts: 30
Joined: Mon Feb 15, 2016 3:40 am

What does the --check option gain?

Post by chungy »

The wim format and wimlib seem to support some kind of extra integrity information (hashing the compressed contents of the wim file?), but I don't really know when this might be desirable. wimverify is still able to assure that a wim file is not corrupted even if a file doesn't have this information, and it seems to still check the same data even if it verifies the extra (--check) integrity tables.
synchronicity
Site Admin
Posts: 472
Joined: Sun Aug 02, 2015 10:31 pm

Re: What does the --check option gain?

Post by synchronicity »

Indeed, integrity tables (as can be enabled by --check) are mostly pointless because all file data and file metadata in WIM archives is already checksummed.

However, the integrity table does cover the WIM's blob lookup table, which says where all the file data and metadata is in the file. That otherwise doesn't have its own checksum. Although corruption in that point of the file would tend to cascade into lots of other errors anyway, reliably detecting corruption earlier may be desirable.
Post Reply