Page 1 of 1

What does the --check option gain?

Posted: Tue Apr 02, 2019 2:39 am
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.

Re: What does the --check option gain?

Posted: Sun Apr 14, 2019 7:19 am
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.