Revision [19534]
This is an old revision of HowtoMakeSFSPackage made by darkcity on 2011-11-16 08:33:15.
Squashfs
compressed read-only file systemshttp://squashfs.sourceforge.net/
Explanation of the Squash file system: PDF
Puppy can make use of programs that have been packaged in the SFS format which consist of a single file with the file extension .sfs
Using SFS software packages within Puppy
Package installation:- place the SFS file at /mnt/home, then
- either (A) follow the instructions at (requires re-booting): Menu > System > BootManager
- or (B) follow the instructions at (does not require re-booting): Menu > Setup > SFS-Load
- soon another option will be available
- accessed through either the Menu or the command-line interface (and not by clicking on the SFS package file)
Lists of SFS software packages
http://www.lhpup.org/sfs/http://182.164.211.204/puppy/wary/opt/
Compatibility chart
How to make a SFS file of a software package
Copy or move all the directories and files that make up the software package into one single directory. Then issue the mksquashfs command:# mksquashfs SYNTAX:mksquashfs source1 source2 ... dest [options] [-e list of exclude dirs/files]
e.g.:
mksquashfs <path_to_directory> <path_to_directory>.sfs -noappend
Verify the installed version of mksquashfs with:
mksquashfs -version
http://www.linux-mag.com/id/7357
http://tldp.org/HOWTO/SquashFS-HOWTO
EditSFS Pup
Advantages of Squash file compression
http://www.murga-linux.com/puppy/viewtopic.php?p=43866&highlight=mksquashfs#43866
http://www.murga-linux.com/puppy/viewtopic.php?p=439180#439180
http://www.murga-linux.com/puppy/viewtopic.php?t=35390
http://tinycorelinux.com/forum/index.php?topic=4590.0
http://knol.google.com/k/squashfs#
http://martin.elwin.com/blog/2008/05/backups-with-squashfs-and-luks/
http://puppylinux.org/wikka/LucidPuppySFS
"SFS-TCZ_Linker may be a good idea if you absolutely must run liveCD only (no rebooting, no session saving.) But running a standard frugal with pupsave, the Linker will add symlinks to the pupsave layer only--and later remove them, even if similarly named files or links were later added via PPM, Gslapt or other means. This is likely to adversely affect reliability and stability. With a full install any files removed would be gone forever, making it even riskier. So at least for now, if you are saving your session at shutdown I still recommend a frugal install and BootManager for adding SFS files."
http://www.murga-linux.com/puppy/viewtopic.php?p=448985#448985
Adding too many layers to AUFS reduces performance and slows down saving.
01micko writes "I made a tool (see my signature) that makes it super easy for anyone to make a pet or sfs out of debs, if you want you can try it and maybe suggest where I can make improvements. debs2pkg or alien2puppy, the former is what it says and the latter supports Slack tgz and txz formats."
http://www.murga-linux.com/puppy/viewtopic.php?p=442183#442183
http://users.tpg.com.au/01micko/01mickos_tools.html#debs2pkg