
CKDIST(1)                  FreeBSD Reference Manual                  CKDIST(1)

NNAAMMEE
     cckkddiisstt - check software distributions

SSYYNNOOPPSSIISS
     cckkddiisstt [--aaiirrssxx] [--dd _d_i_r] [--nn _n_a_m_e] [--tt _t_y_p_e] _f_i_l_e _._._.

DDEESSCCRRIIPPTTIIOONN
     The cckkddiisstt utility reads "checksum" files (which are assumed to specify
     components of a software distribution) and verifies the integrity of the
     distribution by validating the checksum of each component file.  Both MD5
     (128-bit "message digest") and .inf (32-bit CRC) checksum formats are
     supported.

     The _f_i_l_e operands may refer to regular files or to directories.  Regular
     files named "md5", or which have an ".md5" or an ".inf" extension, are
     assumed to be of the implied type, otherwise format is determined from
     content.  If a directory is specified, it is searched for appropriately-
     named files only.

     Options are as follows:

           --aa        Report on all distribution components, not just those in
                     respect of which errors are detected.

           --ii        Ignore missing distribution components.

           --rr        Search specified directories recursively.

           --ss        Suppress complaints about inaccessible checksum files and
                     directories.

           --xx        Verify the existence of distribution components (and also
                     check sizes, in the case of .inf files), but omit the
                     more time-consuming step of actually computing and com-
                     paring checksums.

           --dd _d_i_r    Look for distribution components in the directory _d_i_r.

           --nn _n_a_m_e   Access distribution components using the filename _n_a_m_e.
                     (When accessing .inf file components, append the appro-
                     priate extension to the filename.)

           --tt _t_y_p_e   Assume that all specified checksum files are of the for-
                     mat _t_y_p_e, and search directories only for files in this
                     format (where _t_y_p_e is either "md5" or "inf").

SSEEEE AALLSSOO
     cksum(1),  md5(1)

DDIIAAGGNNOOSSTTIICCSS
     Exit status is 0 if no errors were detected, 1 if errors were found in a
     distribution, and 2 if usage errors, inaccessible input files, or other
     system errors were encountered.

NNOOTTEESS
     Both BSD and DOS versions of cckkddiisstt are available.

BSD                            January 20, 1997                              1
