Is there a method to check integrity of squashfs files, using standard squashfs tools. At the time I'm using a separate file with sha256 hashes.
Asked
Active
Viewed 3,833 times
3
-
do you mean turn on filesystem checks mksquashfs -check-data ? from man page it say "enable additional file system checks" If think its checking integity after make fs. – Krzysztof Stasiak Jun 09 '17 at 09:41
-
7-zip has read only support for squashfs. So you can use it's integrity test functionality. – Thuffir Jun 12 '18 at 15:47
1 Answers
1
You could run unsquashfs
and check for errors - any errors should confuse the compression, like changing a few bytes in a zip/xz archive messes up at least a few blocks

Xen2050
- 2,354