CH-DIR2SQUASH(1)

πŸ“¦ version 0.26, in ubuntu jammy

πŸ’– CH-DIR2SQUASH(1) πŸ’–

okay bestie, so this is ch-dir2squash from the Charliecloud manual (section 1, the user-commands girlies ✨). she's a little script with one job and she does it, but listen β€” read the warning first, i'm not playing πŸ™ˆ


🌸 NAME 🌸

ch-dir2squash β€” make a SquashFS file out of an image directory, that's it, that's the whole personality πŸ’…


✨ SYNOPSIS ✨

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

πŸ¦‹ DESCRIPTION πŸ¦‹

WARNING: this script is deprecated in favor of ch-convert. it is literally going to be removed in the next release. no cap. go use ch-convert, bestie, i'm begging πŸ₯Ί

okay so what she does: she takes the image directory IMGDIR and builds a Charliecloud SquashFS file from it, dropping it inside the directory OUTDIR. the file gets named after the last component of IMGDIR, plus the suffix .sqfs. cute, right? consistent. slay. πŸ’–

and the optional ARGS? those get passed straight through to mksquashfs unchanged. like, no edits, no commentary, no notes, just vibes and your arguments, forwarded as-is 🫢

Additional arguments she understands:

  • --help β€” print help and exit πŸŽ€
  • --version β€” print version and exit ⭐

πŸ”₯ EXAMPLE πŸ”₯

$ 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

see how /var/tmp/debian became /var/tmp/debian.sqfs? last component, plus .sqfs. the way that she ate and left no crumbs πŸ‘‘


😭 REPORTING BUGS 😭

if you got Charliecloud from your Linux distribution, then please use your distribution's bug reporting procedures. that's their house, their rules, respect it πŸ’œ

otherwise, report bugs to: https://github.com/hpc/charliecloud/issues


πŸ‘€ SEE ALSO πŸ‘€

full documentation at: https://hpc.github.io/charliecloud


2014–2021, Triad National Security, LLC


and that's the whole page, bestie!! this was version 0.26, dated 2022-01-30 10:06 UTC, and yeah, she's still filed under CH-DIR2SQUASH(1) 🧚 remember: deprecated, use ch-convert, love u bye πŸ’–βœ¨

πŸ“¦ where this page comes from