lkml.org 
[lkml]   [2009]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/9] Squashfs: Add support for LZMA compressed filesystems
Peter Korsgaard wrote:
>>>>>> "root" == root <root@lougher.demon.co.uk> 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








\
 
 \ /
  Last update: 2009-12-08 19:03    [W:0.069 / U:23.572 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site