squashfs-tools 4.2

I have compiled this in Wary. Biggest feature is that it supports xz compression, as does the squashfs.ko driver in the 2.6.39 kernel.

It is in the 'common' repo (83KB):

There are three different squashfs-tools PET packages, for v3, v4.0 and v4.2 Squashfs. It is a bit involved to explain here, but the package list in Woof, for example in file DISTRO_PKGS_SPECS-puppy-wary5', has "yes" to all three:


yes|squashfs-tools4||exe| #use instead of squashfs-tools42 for <2.6.39 (see Woof file PKGS_MANAGEMENT, variable PKG_PREFER_OLDER)
yes|squashfs-tools42||exe| #use with 2.6.39+ kernel, supports xz (see Woof file PKGS_MANAGEMENT, variable PKG_PREFER_OLDER)

But only the first and a choice between second and third is made by script '3builddistro'.

The first package has executables 'mksquashfs3' and 'unsquashfs3', the next two both have 'mksquashfs4' and 'unsquashfs4'.
'3builddistro' creates symlinks 'mksquashfs' and 'unsquashfs' to 'mksquashfs4' and 'unsquashfs4'.

Posted on 13 Jul 2011, 20:29


Posted on 15 Jul 2011, 2:50 by pemasu
squashfstools42 in lucid puppy
ln -s liblzma.so.1.0.0 liblzma.so.0
That was needed in Lucid Puppy based based puplet.
liblzma.so.0 might be provided normally by devel libs.

Posted on 31 Jul 2011, 4:53 by mavrothal
mount xz compressed SFS fails
Using a Lusid derivative (XOpup) with xz-tools and squashfs-tools-4.2, xz-compressed sfs files (eg puppy_drake_o.3.sfs) unsquash fine.
However, mount fails to mount them and the same is true for ROX/filemnt.
Any special consideration?

Posted on 31 Jul 2011, 8:23 by steev
re: mount xz compressed SFS fails
You will need a 2.6.38 or newer kernel to mount xz-compressed squashfs files.