Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have two sets of discs which are mirrored copies of each other. Does an algorithm exist which could verify if the copy made is same as the original?

share|improve this question
    
What kind of discs? CDs? DVDs? Hard disks? –  slhck Jan 31 '12 at 10:00
2  
"Read a block from disk 1 into memory" "Read the same block from disk 2 into memory" "Compare the two" "If not equal or read fails due to no more data, then disks are not identical, so abort" "If at the end of both disks, disks are identical" "Repeat for next block" There's your algorithm. –  Michael Kjörling Jan 31 '12 at 10:13

1 Answer 1

There are various utilities which will calculate you a checksum; if the checksum differs, then the data is different, and the checksum will detect random errors. An example is MD5, and there are various utilities which will compute MD5sums for you.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.