Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Testing CD integrity
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
joeljkp
Guru
Guru


Joined: 06 Mar 2004
Posts: 316
Location: Starkville, MS, USA

PostPosted: Mon Jun 28, 2004 10:35 pm    Post subject: Testing CD integrity Reply with quote

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
View user's profile Send private message
Jake
Veteran
Veteran


Joined: 31 Jul 2003
Posts: 1132

PostPosted: Mon Jun 28, 2004 10:46 pm    Post subject: Reply with quote

If you made it from an ISO,
Code:
md5sum /dev/cdrom source_file.iso

and compare the numbers
Back to top
View user's profile Send private message
joeljkp
Guru
Guru


Joined: 06 Mar 2004
Posts: 316
Location: Starkville, MS, USA

PostPosted: Mon Jun 28, 2004 11:16 pm    Post subject: Reply with quote

It's not an ISO. It's a bunch of files I burned onto it.
Back to top
View user's profile Send private message
lbrtuk
l33t
l33t


Joined: 08 May 2003
Posts: 910

PostPosted: Tue Jun 29, 2004 3:19 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum