Re: [PATCH 0/9] Squashfs: Add support for LZMA compressed filesystems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Peter Korsgaard wrote:
"root" == root  <root@xxxxxxxxxxxxxxxxxxx> writes:

 root> Hi,
 root> The following patches add LZMA decompression support to Squashfs, using the
 root> in-kernel LZMA decompression library.

 root> The patches also add a decompression framework to Squashfs.
 root> This allows LZMA decompression to be added cleanly, and it allows
 root> additional decompressors to be easily added in the future.

 root> To enable the in-kernel LZMA decompression code to be used by Squashfs,
 root> there are two patches to the lzma code itself: one to make lzma available
 root> to non-init code, and one to make lzma reentrant.  These are obviously
 root> not restricted to Squashfs, but are needed by any non-init code that
 root> may wish to use lzma compression.

Nice, do you also have an mksquashfs with lzma support?


Yes, in Squashfs CVS (http://sourceforge.net/projects/squashfs/develop).
You'll need to edit the squashfs-tools Makefile to enable LZMA support.
The comments in the Makefile should, hopefully, explain how to
build LZMA support into Mksquashfs/Unsquashfs.

Once built-in, LZMA support can be specified using the -comp lzma option, i.e.

mksquashfs dir dir.img -comp lzma

Unsquashfs doesn't need any extra options, it automatically detects which
compression has been used.

You can tell which compression algorithms Mksquashfs/Unsquashfs support by
just typing the command on its own (i.e. mksquashfs, or unsquashfs).  The
(de-)compressors available are displayed at the end of the output.

Phillip






--
To unsubscribe from this list: send the line "unsubscribe linux-embedded" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Gstreamer Embedded]     [Linux MMC Devel]     [U-Boot V2]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux ARM Kernel]     [Linux OMAP]     [Linux SCSI]

  Powered by Linux