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
unsquashfs: add support for LZMA magics
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.
Hi, any news on this issue?
0001-unsquashfs-add-support-for-LZMA-magics.patch - This patch for what versions of squashfs tools ?
The patch still applies to squashfs-tool 4.3
It may require some touches but it's a good starting point IMHO.