Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] Checking a CDR


>What is the best way to check a burn on a CDR.
>
>It seemed to stop quicker than I expected, but it mounts OK and the
>listing looks OK, but I would like to know that the files are OK.
>
>I guess what I am looking for is fsck.iso9660 but no such beast exists.
>
>Suggestions?

There are different ways depending on how thorough you want to be:

File level check:

	diff -r /mnt/cdrom /top/directory/of/archive

(You may get complaints about TRANS.TBL not found in disk directories.)

Block level check:

	cmp /dev/cdrom /tmp/isoimage