summaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2016-03-01 12:10:04 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2016-03-02 19:51:48 +0100
commit9eeaa7cce84b9fb4674d5e99fbc0c68cdff8c25a (patch)
treec5cd7a0914ed710db656e616a41624dad900bcd7 /Documentation/filesystems
parent237abe7bb8c5083a1f23c5bd346c41483f15ed0d (diff)
downloadbarebox-9eeaa7cce84b9fb4674d5e99fbc0c68cdff8c25a.tar.gz
barebox-9eeaa7cce84b9fb4674d5e99fbc0c68cdff8c25a.tar.xz
fs: add support for SquashFS 4.0
The driver was imported from Linux 4.4. Current implementation supports only XZ decompressor. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Tested-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Documentation/filesystems')
-rw-r--r--Documentation/filesystems/squashfs.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/Documentation/filesystems/squashfs.rst b/Documentation/filesystems/squashfs.rst
new file mode 100644
index 0000000000..88c97ebbe8
--- /dev/null
+++ b/Documentation/filesystems/squashfs.rst
@@ -0,0 +1,15 @@
+.. index:: squashfs (filesystem)
+
+SquashFS filesystem
+===================
+
+SquashFS is a highly compressed read-only filesystem for Linux.
+It uses zlib, lzo or xz compression to compress both files, inodes
+and directories. A SquashFS filesystem can be mounted using the
+:ref:`command_mount` command::
+
+ barebox:/ mkdir /mnt
+ barebox:/ mount -t squashfs /dev/spiflash.FileSystem /mnt
+ barebox:/ ls /mnt
+ zImage barebox.bin
+ barebox:/ umount /mnt