Re: How do you use md5sum?

From: faeychild (phobos_at_deimos.com)
Date: 04/30/05


Date: Sat, 30 Apr 2005 09:42:03 +1000

Unruh wrote:

> Ohmster <notareal@emailaddress.com> writes:
>
>>How do I check that these are indeed "official" FC3 image files and are
>>the same as those offered by the linuxiso website? Running md5sum like
>>this:
>
>>[ohmster@ohmster FC3]$ md5sum FC3-i386-disc1.iso
>>db8c7254beeb4f6b891d1ed3f689b412 FC3-i386-disc1.iso
>>[ohmster@ohmster FC3]$
>
>>Gives me this huge number that I could check against the md5sum number
>>on the linuxiso website or ever on the alternate download site, but that
>
> Good. You have got it.
> Now why would that leave lots of room for human error. Any change in the
> files is likely to cause half of the bits in the md5sum to change. Ie,
> each character remaining the same has about a 1/16 chance. 5 given
His point is - comparing the output of md5sum with the actual checksum
number, by eye, is error prone.
There may be some way to pipe the output of md5sum through a compare
function, but I don't know it. Surely a script wouldn't be too difficult
to knock up.
Then again, compairing checksums is not something I do too frequently.

-- 
faeychild


Relevant Pages

  • Re: How do you use md5sum?
    ... >the same as those offered by the linuxiso website? ... files is likely to cause half of the bits in the md5sum to change. ... even checking the first five characters in the two md5sums is an extremely ... the download is ...
    (comp.os.linux.security)
  • Re: cdrecord problems
    ... > when having an Iso image. ... When comparing the original Iso with the burnt ... and the command 'md5sum /dev/cdrw' is not ... Best regards Vegard ...
    (Debian-User)
  • Re: Comparing the Perl encrypted files
    ... Jeff Pang wrote: ... is it possible to comparing the encrypted Perl files?? ... If the md5sum values are the same,then the two files should be the same. ...
    (perl.beginners)
  • Comparing entire directories
    ... Is there some command for comparing entire directories? ... md5sum, which for instance checks if all files and directories (including ... To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list ...
    (Fedora)
  • Re: Recording ISOs
    ... scx wrote: ... > comparing the burned CD image to the original with cmp, ... > and the md5sum says that checking failed ...
    (comp.os.linux)