Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .