Subject: Re: how to verify CD-R's
To: None <>
From: None <>
List: netbsd-users
Date: 03/17/2001 09:33:08
> Is there a simple way to verify that a CD image was correctly written to
> the CD?  Ie, I use cdrecord to burn test.iso to a cd-r.  Then I do 
> 'md5 test.iso'.  Then is there some magic combination of dd flags which
> will let me do
> dd if=/dev/cd0c ...... | md5

you may do
dd if=/dev/rcd0c bs=2k |cmp - image_file

and use raw device instead of buffered when doing this