site  contact  subhomenews

squashfs-tools 4.2

July 13, 2011 — BarryK
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):
http://distro.ibiblio.org/quirky/pet_packages-common/squashfs-tools42-4.2-gzip-xz-w5.pet

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-tools||exe|

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'.

Comments

squashfstools42 in lucid puppy
Username: pemasu
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.

mount xz compressed SFS fails
Username: mavrothal
"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?


Tags: woof