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.

  • 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. Commented Jun 9, 2017 at 9:41
  • 7-zip has read only support for squashfs. So you can use it's integrity test functionality.
    – Thuffir
    Commented Jun 12, 2018 at 15:47

1 Answer 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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .