Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

SquashFS

From Wikipedia, the free encyclopedia
Compressed read-only file system for Linux
Squashfs
Developer(s)Phillip Lougher, Robert Lougher
Introduced2002 with Linux
Limits
Max volume size16 EiB (264) bytes
Max file size16EiB (264) bytes
Features
AttributesPOSIX andextended attributes
Transparent
compression
gzipLZMALZOLZMA2LZ4Zstd
Other
Supported
operating systems
Linux
Websitegithub.com/plougher/squashfs-tools

Squashfs is acompressed read-onlyfile system forLinux. Squashfs compressesfiles,inodes anddirectories, and supportsblock sizes from 4KiB up to 1MiB for greater compression. Several compression algorithms are supported. Squashfs is also the name offree software, licensed under theGPL, for accessing Squashfs filesystems.

Squashfs is intended for general read-only file-system use and in constrained block-devicememory systems (e.g.embedded systems) where lowoverhead is needed.

Uses

[edit]

Squashfs is used by theLive CD versions ofArch Linux,Clonezilla,Debian,Fedora,Gentoo Linux,KDE neon,Kali Linux,Linux Mint,NixOS,Salix,Ubuntu,openSUSE and on embedded distributions such as theOpenWrt[1] andDD-WRTrouterfirmware. It is also used inChromecast[2] andEasyOS, inTiny Core Linux for packaging extension, and for the system partitions of someAndroid releases (Android Nougat).[3] It is often combined with aunion mount filesystem, such asUnionFS,OverlayFS, oraufs, to provide a read-write environment for live Linux distributions. This takes advantage of both Squashfs's high-speed compression abilities and the ability to alter the distribution while running it from a live CD. Distributions such asDebian Live,Mandriva One,Puppy Linux,Salix Live andSlax use this combination. TheAppImage project, which aims to create portable Linux applications, uses Squashfs for creating AppImages. Thesnap package system also uses Squashfs as its file container format.

Squashfs is also used byLinux Terminal Server Project andSplashtop. The toolsunsquashfs andmksquashfs have been ported toWindows NT[4]Windows 8.1.[5]7-Zip also supports Squashfs.[6]

History

[edit]

Squashfs was initially maintained as an out-of-tree Linux patch. The initial version 1.0 was released on 23 October 2002.[7] In 2009 Squashfs was merged into Linux mainline as part of Linux 2.6.29.[8][9] In that process, thebackward-compatibility code for older formats was removed. Since then the Squashfskernel-space code has been maintained in the Linux mainline tree, while theuser-space tools remain on the project'sGitHub page.[10]

The original version of Squashfs usedgzip compression, although Linux kernel 2.6.34 added support forLZMA[11] andLZO compression,[12] Linux kernel 2.6.38 added support forLZMA2 compression (which is used byxz),[13] Linux kernel 3.19 added support forLZ4 compression,[14] and Linux kernel 4.14 added support forZstandard compression.[15]

Linux kernel 2.6.35 added support forextended file attributes.[16]

See also

[edit]

References

[edit]
  1. ^"The OpenWrt Flash Layout – OpenWrt Wiki".OpenWrt.org. 2018-06-07.Archived from the original on 2021-08-17. Retrieved2018-06-11.
  2. ^"Exploitee.rs » Blog Archive » Chromecast: Exploiting the Newest Device By Google".Archived from the original on 2021-03-19. Retrieved2021-03-07.
  3. ^Amadeo, Ron (May 18, 2016)."Android N Borrows Chrome OS Code for 'Seamless' Update Installation".Ars Technica.Archived from the original on March 17, 2018. RetrievedJune 15, 2017.
  4. ^"Squashfs tools for Windows".Archived from the original on 2017-09-23. Retrieved2017-09-22.
  5. ^"Squashfs Tools (Linux/Windows)" (in Dutch).Archived from the original on 2017-09-23. Retrieved2017-09-22.
  6. ^"7-Zip".www.7-zip.org.Archived from the original on 2006-05-12. Retrieved2021-03-07.
  7. ^"Squashfs CHANGES file". 2014-08-08.Archived from the original on 2020-04-22. Retrieved19 April 2017.
  8. ^"Linux 2 6 29 -- Linux Kernel Newbies".Linux Kernel Newbies. 2009-06-10.Archived from the original on 2019-10-24. Retrieved19 April 2017.
  9. ^"Btrfs and Squashfs merged into Linux kernel - The H Open: News and Features".The H Open. 2009-01-10.Archived from the original on 2016-03-04. Retrieved2017-04-19.
  10. ^"Squashfs README file".GitHub. 2021-07-23.Archived from the original on 2021-07-23. Retrieved23 July 2021.
  11. ^"Official Squashfs LZMA".Squashfs-LZMA.org.Archived from the original on 2012-10-29. Retrieved2012-11-08.
  12. ^"Linux 2 6 34 - Linux Kernel Newbies".KernelNewbies.org.Archived from the original on 2012-11-03. Retrieved2012-11-08.
  13. ^"Linux 2 6 38 - Linux Kernel Newbies".KernelNewbies.org.Archived from the original on 2012-11-16. Retrieved2012-11-08.
  14. ^Merge of LZ4 Squashfs supportArchived 2020-07-23 at theWayback Machine toLinus Torvalds tree.
  15. ^"squashfs: Add zstd support · torvalds/linux@87bf54b".GitHub.Archived from the original on 2023-10-28. Retrieved2018-04-15.
  16. ^"Linux 2 6 35 - Linux Kernel Newbies".KernelNewbies.org.Archived from the original on 2020-01-08. Retrieved2012-11-08.

External links

[edit]
Disk and
non-rotating
Optical disc
Flash memory andSSD
host-sidewear leveling
Distributed parallel
NAS
Specialized
Pseudo
Encrypted
Types
Features
Access control
Interfaces
Lists
Layouts
Retrieved from "https://en.wikipedia.org/w/index.php?title=SquashFS&oldid=1336925650"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp