ch-dir2squash - Man Page

Create a SquashFS file from an image directory


$ ch-dir2squash IMGDIR OUTDIR [ARGS ...]



This script is deprecated in favor of ch-convert. It will be removed in the next release.

Create Charliecloud SquashFS file from image directory IMGDIR under directory OUTDIR, named as last component of IMGDIR plus suffix .sqfs.

Optional ARGS will passed to mksquashfs unchanged.

Additional arguments:


print help and exit


print version and exit


$ ch-dir2squash /var/tmp/debian /var/tmp
Parallel mksquashfs: Using 6 processors
Creating 4.0 filesystem on /var/tmp/debian.sqfs, block size 131072.
-rw-r--r--  1 charlie charlie 41M Apr 23 14:41 /var/tmp/debian.sqfs

Reporting Bugs

If Charliecloud was obtained from your Linux distribution, use your distribution’s bug reporting procedures.

Otherwise, report bugs to:

See Also


Full documentation at: <>

Referenced By


2023-01-18 00:00 UTC 0.26 Charliecloud