knowledge/technology/linux/filesystems/SquashFS.md
2023-12-04 11:02:23 +01:00

25 lines
No EOL
491 B
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
obj: filesystem
---
# SquashFS
**Squashfs** is a compressed read-only [file system](Filesystems.md) for [Linux](../Linux.md).
## Creation
```shell
mksquashfs source1 source2 ... destination [options]
```
**Use alternate compressions:**
```shell
mksquashfs source1 destination -comp <compression>
```
**Highly compressed:**
```shell
mksquashfs source1 destination -comp xz -Xdict-size 100%
```
## Extraction
```shell
unsquashfs [options] target [files/directories to extract]
```