Squashfs, the Linux compression filesystem, is getting fixes for a batch of AI related…
By AI Update World · 2026-12-01

Squashfs is a Linux compression filesystem that sits in the background of countless systems, from embedded devices to container images, quietly managing how data gets stored and read. Understanding it means understanding one of the foundational technologies that keeps modern computing efficient.
What Squashfs actually is
Squashfs is a read-only compressed filesystem for Linux. Unlike filesystems designed for constant reading and writing, Squashfs compresses files and directories into a single archive that can be mounted and accessed like a normal folder. Once created, the filesystem is immutable, which means nothing can be added, changed or deleted. This constraint is intentional, not a limitation, because it enables serious space savings and consistent behavior.
The filesystem was designed by Phillip Lougher in the mid-2000s to solve a real problem: how to fit more data into smaller spaces without sacrificing access speed. It became widely adopted in embedded Linux systems where storage and memory were precious. Today it appears in everything from router firmware to Docker containers to Live Linux distributions that boot from USB drives.
How compression and storage actually work
Squashfs uses compression algorithms, most commonly GZIP or LZ4, to reduce the size of files before storing them. But unlike a ZIP archive you download, Squashfs doesn't require decompression of the entire filesystem into memory before you use it. Instead, it decompresses data on demand, block by block, as the kernel reads individual files. This balance between compression ratio and read performance is why it remains practical for systems with real constraints.
The filesystem maintains metadata structures that map logical file locations to their compressed blocks on disk. When an application requests a file, the kernel consults these structures, locates the compressed blocks, decompresses them, and serves the data. The read-only nature means these metadata structures never change once built, which simplifies both the design and the security model.
Where Squashfs is actually used
Embedded and resource-constrained environments are Squashfs's natural home. Routers, smart home devices, and other single-board computers often use it because storage is expensive and power consumption matters. Live Linux distributions that run from CD or USB rely on Squashfs to fit a complete operating environment into a small footprint.
Container and cloud infrastructure has become a newer major user. Container images, particularly those used in Kubernetes and other orchestration systems, can be stored more efficiently using Squashfs layers. This reduces disk usage across data centers and speeds up image distribution. The immutability of Squashfs also aligns well with container philosophy: once an image is built, it should not change.
Why kernel maintenance matters at this level
Maintenance of filesystems like Squashfs often looks invisible to end users, but it is fundamental infrast