summaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems/squashfs.rst
blob: a042f7b96b9a41b71c14e1a29c03bb76dabe64b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.. 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:

.. code-block:: console

  barebox:/ mkdir /mnt
  barebox:/ mount -t squashfs /dev/spiflash.FileSystem /mnt
  barebox:/ ls /mnt
  zImage barebox.bin
  barebox:/ umount /mnt