-
Notifications
You must be signed in to change notification settings - Fork 226
Description
I'm currently working on a project which mounts a squashfs from a live CD image with a writeable overlay, makes some changes, then packs it back up. Doing so is the slowest part of the build process, and it would be great to shave off a bit more time if possible.
I realize that fully incremental updates of a squashfs are undesirable (as per your detailed answer here: #174 (comment)). However, there are many files in the original squashfs larger than the block size, and if I understand correctly, the blocks that aren't part of a fragment won't change if the file contents don't change. Would it be possible to re-use the compressed blocks by reading them from the original, rather than compressing them again, and then store them as usual?
I also just wanted to say that the upgrade to mksquashfs 4.7.2 has already sped things up noticeably, and I really appreciate your continued hard work on this project!