#20 unsquashfs: add support for LZMA magics

open
nobody
None
5
2015-01-23
2012-09-19
No

Some vendor (e.g. Thomson/Technicolor) use a different super block magic
to indicate LZMA compression:

qshs (0x71736873) - LZMA compression
shsq (0x73687371) - LZMA compression, SWAPPED fields

Add support for detecting this and enable extraction for filesystems
from those firmwares.

If the patch is OK, it can be applied with git-am.

Thanks,
Antonio

Discussion

  • Antonio Ospite

    Antonio Ospite - 2013-03-19

    Ping.

    In a router using such filesystems with swapped bytes I can see this message in the kernel logs:

    squashfs: version 4.0 (2009/01/31) Phillip Lougher
    squashfs: version 4.0 with LZMA457 ported by BRCM

    I don't know if this info can be useful to choose a bettere name for the feature.

     
  • Antonio Ospite

    Antonio Ospite - 2014-06-30

    Hi, any news on this issue?

     
  • At1ant

    At1ant - 2015-01-23

    0001-unsquashfs-add-support-for-LZMA-magics.patch - This patch for what versions of squashfs tools ?

     
    • Antonio Ospite

      Antonio Ospite - 2015-01-23

      The patch still applies to squashfs-tool 4.3

      It may require some touches but it's a good starting point IMHO.

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks