Check MD5 of CD / DVD


/ Published in: Bash
Save to your folder(s)

in Linux, check the size of the DVD first. This gives you the number of bytes. Divide that number by Y = 32768 (example blocksize) or similar (must be dividable), so you can give the proper block count X. Pipe that to md5sum and wait a little.


Copy this code and paste it in your HTML
  1. dd if=/dev/scd0 bs=Y count=X | md5sum

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.