0

We have a large file that needs to be uncompressed inside a compressed squashfs.

Is this possible without patching mksquashfs?


Something like this would be nice:

$ mksquashfs existing_squash.sqsh 
             -uncompressed my_big_file.txt
             new_squash.sqsh
  • 2
    Why do you want the file uncompressed? – RalfFriedl Jun 14 at 5:24
  • Because when the file(s) is uncompressed it takes 0.5 seconds to read. When the file is compressed, it takes 2.5 seconds to uncompress and read. – GGhe Jun 14 at 18:38
0

There didn't seem like a straightforward way of doing the above, so we decided to copy that large file to an uncompressed location once when we copy the flash to the device.

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.