SquashFS

SquashFS is an open source, read only, extremely compressible filesystem. Like other filesystems SquashFS is capable of de-duplicating the data passed to it, which helps it compress data further. Although not fully necessary to operate correctly, SquashFS is typically used with some kind of union filesystem when used for Live media (LiveUSBs and LiveCDs).

Kernel
Activate the following kernel options must be activated for SquashFS support:

USE flags
Like most filesystems in Linux, the SquashFS filesystem tools come in a separate package. This package is called. Set the desired support for the package by adjusting USE flags accordingly.

Emerge
After setting flags as desired, update the system so the changes take effect:

Filesystem creation
Creation of SquashFS filesystems is performed with the mksquashfs command. To create a SquashFS filesystem of the home directory of a user named Larry, the following command could be used:

Depending on what kernel features were selected for SquashFS support, the output of the mksquashfs command will look something like the following:

Notice the command provides an excellent summary of what went into the newly created file. Information such as filesystem size, inode table, directory table, number of duplicate files, UIDs, and GUIs are easily readable. This information can be very helpful when attempting to gather specific information from the filesystem.

Mount
To mount a SquashFS, use the mount command's  option with escalated privileges:

Unmount
To unmount the filesytem, use the umount command with escalated privileges:

mount: only root can use "--options" option
This error is should be self-explanatory. Login as the root user or use sudo to run mount the filesystem with escalated privileges.

External resources

 * A SquashFS instructional video on YouTube.