[Linux-Anyway] md2sum and the variance in sector counts.

  • From: John Richard Smith <BAGSOFCHOICE@xxxxxxxxxxxxxxxxxxxxx>
  • To: Linux-Anyway@xxxxxxxxxxxxx
  • Date: Sat, 13 Dec 2003 09:14:06 +0000

OK so I download an ISO, here is an example,
ftp://slackware.linux.no/pub/slackware/slackware-9.1-iso/slackware-9.1-source-d3.iso
and this is the published md5sum for it
eb5ac676306a78b3ec5c5aa033903669  slackware-9.1-source-d3.iso
I do the md5sum on completion.
eb5ac676306a78b3ec5c5aa033903669  slackware-9.1-source-d3.iso
all agrees just fine.


then I calculate the sectors manually on a calc
ls -ls  689995776 Sep 29 18:03 slackware-9.1-source-d3.iso
689995776/2048=336912

I burn to disc, and cdrecord reports,

689995776/690026496 (336927 sectors) 
note  689995776                       with ls -ls
but    690026496                       is what ?
and   336927         doesn't agree with my manual count , why ?

also note,

dd if=/dev/scd0 bs=2048 count=336912 | md5sum -eb5ac676306a78b3ec5c5aa033903669 
 = agrees !!!

dd if=/dev/scd0 bs=2048 count=336927 | md5sum -9629fce7de668165a50f1becec49ea81 
 - wrong ?

So my question is why does cdrecord report a different sector count
and is it measuring something else ?

John


-- 
John Richard Smith
BAGSOFCHOICE@xxxxxxxxxxxxxxxxxxxxx 


To unsubcribe send e-mail with the word unsubscribe in the body to:   
Linux-Anyway-Request@xxxxxxxxxxxxx?body=unsubscribe

Other related posts: