CKDIST(1)

πŸ“¦ version 15.1, in freebsd 14.5, freebsd 15.1

πŸ’– CKDIST(1) β€” check software distributions πŸ’–

okay so bestie, this is the General Commands Manual page for ckdist, and honestly it's giving "I verify your whole software distribution's vibe" and I'm obsessed. Let's get into it 🫢


✨ NAME ✨

ckdist β€” check software distributions

🌸 SYNOPSIS 🌸

ckdist [-airsx] [-d dir] [-n name] [-t type] file ...

πŸŽ€ DESCRIPTION πŸŽ€

okay so picture this: ckdist reads "checksum" files β€” and like, we're assuming those files specify components of a software distribution β€” and then it verifies the integrity of that distribution by validating the checksum of each component file. slay. it supports both MD5 (the 128-bit "message digest") and .inf (32-bit CRC) checksum formats, so bestie's got range πŸ’…

the file operands can point at regular files or at directories. regular files named md5, or ones that have an .md5 extension or an .inf extension, are assumed to be of the implied type β€” otherwise the format gets determined from content. iykyk. and if you hand it a directory? it gets searched only for appropriately-named files ✨

the options are as follows:

  • -a β€” report on all distribution components, not just the ones where errors got detected πŸ‘‘
  • -i β€” ignore missing distribution components πŸ™ˆ
  • -r β€” search the specified directories recursively πŸŒ€
  • -s β€” suppress complaints about inaccessible checksum files and directories 🀫
  • -x β€” verify the existence of distribution components (and also check sizes, in the case of .inf files), but skip the more time-consuming step of actually computing and comparing checksums. it's the "are you even there" check, not the "let's do the math" check πŸ’€
  • -d dir β€” look for distribution components in the directory dir πŸ“
  • -n name β€” access distribution components using the filename name. when accessing .inf file components, append the appropriate extension to the filename 🏷️
  • -t type β€” assume that all specified checksum files are of the format type, and search directories only for files in this format (where type is either md5 or inf) πŸ”₯

⭐ EXIT STATUS ⭐

ckdist exits with one of these values:

0       No errors were detected.
1       Errors were found in a distribution.
2       Usage errors, inaccessible input files, or other system errors
        were encountered.

so like, 0 is the "we ate and left no crumbs" ending, 1 means the distribution had problems, and 2 means something else went wrong entirely 🫢


πŸ¦‹ SEE ALSO πŸ¦‹

🌈 NOTES 🌈

both BSD and DOS versions of ckdist are available β€” iconic, honestly πŸ’œ


aww okay that's the whole page bestie! this one's from the Debian crew, dated January 20, 1997, and it's still serving checksum-verification realness. mwah πŸ’‹

πŸ“¦ where this page comes from