I love using firmware-mod-kid to modify SoHo router firmware. The problem I encounter is that it often bloats the size of the image. It appears this happens during the mksquashfs step.

If I'm just unsquashing a filesystem and then resquashing it with the same compression, with no modifications, why is the resulting image larger than the original?

  • Do you have an exact example to share of this happening? It would be easier to analyze the before and after images rather than making blind guesses.
    – mncoppola
    Commented Mar 30, 2013 at 3:00
  • You're totally right, I do but not with me. I was hoping someone else had experienced this before and just knew... I'll post the firmware image I had problems with ASAP. Thanks.
    – mrduclaw
    Commented Mar 30, 2013 at 3:01

1 Answer 1


There is possible padding, try adding the -nopad option, assuming that you are using the same compression method.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.