6

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?

2
  • 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
    Mar 30 '13 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
    Mar 30 '13 at 3:01
3

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

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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