SquashFS

From Wikipedia, the free encyclopedia

Squashfs (.sfs) is a free (GPL) compressed read-only file system for the Linux kernel. Squashfs compresses files, inodes and directories, and supports block sizes up to 1024 KB for greater compression.

Squashfs is intended for general read-only file system use, for archival use (i.e. in cases where a tar file may be used), and in constrained block device/memory systems (e.g. embedded systems) where low overhead is needed. The standard version of Squashfs uses gzip compression.

[edit] Uses

SquashFS is used by the Live CD versions of Finnix, Ubuntu, DD-WRT and probably many more Linux distributions. The Helix forensics Live CD also makes use of SquashFS. It is also combined with an union mount filesystem, such as UnionFS or aufs, to provide a read-write environment for live linux distributions. This takes advantage of both the SquashFS's high speed compression abilities with the ability to drastically alter the distribution while running it off of a cd. One distribution that uses this combo is Slax and its derivatives such as the Backtrack Live CD as well as Debian Live.

Note that as the on-disk format of SquashFS have not stabilized yet[1], it is not ready for long-term archival use (i.e. in cases where a tar file may be used).

[edit] See also

[edit] External links