rikona wrote:
Hello Mikkel,

Sunday, March 13, 2005, 8:39:00 AM, Mikkel wrote:


You need to be sure, if you are going to rely on this.  Check the
permissions of the files.  If  necessary try to open them as root.
If you can't even do that the backup is pretty useless, I would
have thought.



MLE> I think we have a bit of cross communication here. It is not the
MLE> bad DVDs that you need to check, but the ones you think are good.
MLE> Make sure the backups are working correctly.

Agree totally! BUT - from the recent messages, it appears that there
is NO WAY to verify a just-burned CD/DVD to make sure the data is the
same and can be read OK. Still looking......


It depends on how you built the backup. If you used tat to backup the files, before burning them, then the -d option of tar will let you compair the files in the archive to the origionals.

For a "quick, cheap, and dirty" check of the files, I find something like

for i in /mnt/dvd/* ; do echo Reading $i ; cat "$i" > /dev/null ; done

works well. It will tell you if the files are readable. It will not tell you if the files match the origional ones. It also doesn't follow directories. Do not forget the quotes around $i in the cat command, or you will get errors if you have any file names with spaces in them.

Mikkel
--

  Do not meddle in the affairs of dragons,
for you are crunchy and taste good with Ketchup!

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to