From: Todd a. M. C. <Tod...@ve...> - 2007-10-04 02:30:14
|
Hi All, Please forgive this somewhat off topic post. I know that the intellectual knowledge exist here and I have had no luck elsewhere. I have a script that creates an ISO and then burns the iso to disk with cdrecord. When I am finished, I take an MD5SUM of the original ISO and the raw cd in the drive. They never match (I know the disk cut correctly too). Now, I know K3B does the same thing when cutting an ISO to disk. What am I doing wrong? Sum1=`md5sum MyNew.iso | awk '{print $1}'` Sum2=`md5sum /dev/scd0 | awk '{print $1}'` if [ "$Sum1" != "$Sum2" ]; then echo "CRITICAL ERROR: Check sums do not match. Bummer..." else echo 'SUCCESS!' fi Many thanks, -T |