Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 May 2010 15:23:26 -0700
From:      Doug Hardie <bc979@lafn.org>
To:        freebsd-questions - <freebsd-questions@freebsd.org>
Subject:   Verifying a DVD
Message-ID:  <76E02DE6-9A61-4D24-9638-ABB7418711D9@lafn.org>

index | next in thread | raw e-mail

I am periodically backing up a bunch of files to DVD.  I use mkisofs to create the original image and growisofs to write it to a real DVD.  However, at that point I want to verify that the write was successful.  I tried using dd to read back in the DVD to a file.  Its interesting that the bs parameter must be at least 2048 or dd complains about a parameter error.  However, the big issues is that the original image file is shorter than the read file.  The difference is 10240  bytes.  This difference is the same for bs 2048, 10240, or 102400.  It appears that dd is adding one last block.  Is there a way to prevent this or remove that block?

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?76E02DE6-9A61-4D24-9638-ABB7418711D9>