i'm testing slink_cd-0.98 on a RedHat 5.2 system (i did not choose the
distribution) and found a small incompatibility between both
- RH 5.2 has the GNU version from GNU textutils 1.22
$ md5sum --help
Usage: md5sum [OPTION] [FILE]...
or: md5sum [OPTION] --check [FILE]
Print or check MD5 checksums.
With no FILE, or when FILE is -, read standard input.
-b, --binary read files in binary mode
-c, --check check MD5 sums against given list
-t, --text read files in text mode (default)
The following two options are useful only when verifying checksums:
--status don't output anything, status code shows success
-w, --warn warn about improperly formated MD5 checksum lines
--help display this help and exit
--version output version information and exit
- Debian 2.0 has an undetermined version :
$ md5sum --help
md5sum: invalid option -- -
usage: md5sum [-bv] [-c [file]] | [file...]
Generates or checks MD5 Message Digests
-c check message digests (default is generate)
-v verbose, print file names when checking
-b read files in binary mode
The input for -c should be the list of message digests and file names
that is printed on stdout by this program when it generates digests.
slink-cd uses the -v option which only exist on the Debian version, so
i had to remove it. I made another modification to suppress output for
correct files :
md5sum -c ../debcheck_disks.1 | grep -v OK
In the process i discovered that i also needed a hamm mirror. Before i
download another 700MB, does somebody know when links from slink to
hamm will be replaced by real files ?