From: Carl Baldwin Date: Thu, 10 Nov 2005 15:47:06 +0000 (-0700) Subject: Try adding a sleep between cdrecord and verify X-Git-Tag: release-0.4~15^2~6 X-Git-Url: http://git.pippins.net/embedvideo/.git/%22%22.%24thumbnail.%22/images/%7Bediturl%7D?a=commitdiff_plain;h=b99823bb7bfc6a89b4e695b551ebb892d992f367;p=backups%2F.git Try adding a sleep between cdrecord and verify --- diff --git a/scripts/burn-imgs.sh b/scripts/burn-imgs.sh index a2793fe..5d030bf 100755 --- a/scripts/burn-imgs.sh +++ b/scripts/burn-imgs.sh @@ -42,6 +42,9 @@ fi renice 0 $$ $cronstopstart start +# I don't know if this *really* helps but give cdrecord a chance to clean up. +sleep 60 + # Now verify the disk by running md5sum on the entire contents of the disk md5sum=$(tempfile) dd if=$dev bs=1M count=4440 2>>$logfile | md5sum | awk '{print$1}' > $md5sum