[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: checking integrity of already written CD/DVD



In <[🔎] 20090329202842.GA3540@think.homelan>, Andrei Popescu wrote:
>On Sun,29.Mar.09, 20:28:44, Angelin Lalev wrote:
>> Is there a way to check a written DVD against the checksum of the iso
>> image written on it?
>$ md5sum /dev/dvd
>
>This should result in *exactly* the same checksum as the iso

Not in my experience.  Both DVDs and CDs have a physical sector size. If the 
image is not a multiple of that sector size, the md5sum of the block device 
and the image will differ, because of the extra bits in the last physical 
sector.

head -c $(wc -c image) /dev/dvd | md5sum
should be the same as
md5sum image
though.
-- 
Boyd Stephen Smith Jr.                   ,= ,-_-. =.
bss@iguanasuicide.net                   ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy         `-'(. .)`-'
http://iguanasuicide.net/                    \_/

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: