View previous topic :: View next topic |
Author |
Message |
joeljkp Guru
Joined: 06 Mar 2004 Posts: 316 Location: Starkville, MS, USA
|
Posted: Mon Jun 28, 2004 10:35 pm Post subject: Testing CD integrity |
|
|
Is there a tool out there that will test the integrity of a CD I just burned? I've been having problems with CD-Rs crapping out on me and returning errors when I try to read them, so I want to be able to do a check right after I burn.
ISO9660 FS, of course.
Thanks. |
|
Back to top |
|
|
Jake Veteran
Joined: 31 Jul 2003 Posts: 1132
|
Posted: Mon Jun 28, 2004 10:46 pm Post subject: |
|
|
If you made it from an ISO,
Code: | md5sum /dev/cdrom source_file.iso |
and compare the numbers |
|
Back to top |
|
|
joeljkp Guru
Joined: 06 Mar 2004 Posts: 316 Location: Starkville, MS, USA
|
Posted: Mon Jun 28, 2004 11:16 pm Post subject: |
|
|
It's not an ISO. It's a bunch of files I burned onto it. |
|
Back to top |
|
|
lbrtuk l33t
Joined: 08 May 2003 Posts: 910
|
Posted: Tue Jun 29, 2004 3:19 am Post subject: |
|
|
Hm. Well it that case the fastest way to do this is probably:
Code: | diff /mnt/cd ~/mydir |
That is assuming you burnt all the files from a directory on the hard drive and thus the directory structure is the same on both.
If not, you're in for rather labouriously comparing the md5sums of each file. |
|
Back to top |
|
|
|