Fix markup and change some layout; no content changes.
This commit is contained in:
@@ -40,23 +40,36 @@
|
|||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
.Nm
|
.Nm
|
||||||
utility reads "checksum" files (which are assumed to specify components
|
utility reads
|
||||||
|
.Dq checksum
|
||||||
|
files (which are assumed to specify components
|
||||||
of a software distribution) and verifies the integrity of the
|
of a software distribution) and verifies the integrity of the
|
||||||
distribution by validating the checksum of each component file.
|
distribution by validating the checksum of each component file.
|
||||||
Both MD5 (128-bit "message digest") and .inf (32-bit CRC) checksum
|
Both MD5 (128-bit
|
||||||
|
.Dq "message digest" )
|
||||||
|
and
|
||||||
|
.Pa .inf
|
||||||
|
(32-bit CRC) checksum
|
||||||
formats are supported.
|
formats are supported.
|
||||||
.Pp
|
.Pp
|
||||||
The
|
The
|
||||||
.Ar file
|
.Ar file
|
||||||
operands may refer to regular files or to directories.
|
operands may refer to regular files or to directories.
|
||||||
Regular files
|
Regular files
|
||||||
named "md5", or which have an ".md5" or an ".inf" extension, are
|
named
|
||||||
|
.Pa md5 ,
|
||||||
|
or which have an
|
||||||
|
.Pa .md5
|
||||||
|
or an
|
||||||
|
.Pa .inf
|
||||||
|
extension, are
|
||||||
assumed to be of the implied type, otherwise format is determined from
|
assumed to be of the implied type, otherwise format is determined from
|
||||||
content.
|
content.
|
||||||
If a directory is specified, it is searched for
|
If a directory is specified, it is searched for
|
||||||
appropriately-named files only.
|
appropriately-named files only.
|
||||||
.Pp
|
.Pp
|
||||||
Options are as follows:
|
The options are as follows:
|
||||||
|
.\"Bl -tag -width ".Fl n Ar name"
|
||||||
.Bl -tag -width 8n -offset indent
|
.Bl -tag -width 8n -offset indent
|
||||||
.It Fl a
|
.It Fl a
|
||||||
Report on all distribution components, not just those in respect of
|
Report on all distribution components, not just those in respect of
|
||||||
@@ -69,7 +82,9 @@ Search specified directories recursively.
|
|||||||
Suppress complaints about inaccessible checksum files and directories.
|
Suppress complaints about inaccessible checksum files and directories.
|
||||||
.It Fl x
|
.It Fl x
|
||||||
Verify the existence of distribution components (and also check sizes,
|
Verify the existence of distribution components (and also check sizes,
|
||||||
in the case of .inf files), but omit the more time-consuming step of
|
in the case of
|
||||||
|
.Pa .inf
|
||||||
|
files), but omit the more time-consuming step of
|
||||||
actually computing and comparing checksums.
|
actually computing and comparing checksums.
|
||||||
.It Fl d Ar dir
|
.It Fl d Ar dir
|
||||||
Look for distribution components in the directory
|
Look for distribution components in the directory
|
||||||
@@ -77,19 +92,34 @@ Look for distribution components in the directory
|
|||||||
.It Fl n Ar name
|
.It Fl n Ar name
|
||||||
Access distribution components using the filename
|
Access distribution components using the filename
|
||||||
.Ar name .
|
.Ar name .
|
||||||
When accessing .inf file components, append the appropriate
|
When accessing
|
||||||
|
.Pa .inf
|
||||||
|
file components, append the appropriate
|
||||||
extension to the filename.
|
extension to the filename.
|
||||||
.It Fl t Ar type
|
.It Fl t Ar type
|
||||||
Assume that all specified checksum files are of the format
|
Assume that all specified checksum files are of the format
|
||||||
.Ar type ,
|
.Ar type ,
|
||||||
and search directories only for files in this format (where
|
and search directories only for files in this format (where
|
||||||
.Ar type
|
.Ar type
|
||||||
is either "md5" or "inf").
|
is either
|
||||||
|
.Cm md5
|
||||||
|
or
|
||||||
|
.Cm inf ) .
|
||||||
.El
|
.El
|
||||||
.Sh EXIT STATUS
|
.Sh EXIT STATUS
|
||||||
Exit status is 0 if no errors were detected, 1 if errors were found in
|
The
|
||||||
a distribution, and 2 if usage errors, inaccessible input files, or
|
.Nm
|
||||||
|
utility exits with one of the following values:
|
||||||
|
.Pp
|
||||||
|
.Bl -tag -width indent
|
||||||
|
.It 0
|
||||||
|
No errors were detected.
|
||||||
|
.It 1
|
||||||
|
Errors were found in a distribution.
|
||||||
|
.It 2
|
||||||
|
Usage errors, inaccessible input files, or
|
||||||
other system errors were encountered.
|
other system errors were encountered.
|
||||||
|
.El
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr cksum 1 ,
|
.Xr cksum 1 ,
|
||||||
.Xr md5 1
|
.Xr md5 1
|
||||||
|
|||||||
Reference in New Issue
Block a user