We have an ISO that we want to burn to a DVD, then zero out the rest of the disc, and finalize it so that it can no longer be written to. In short want to burn an ISO so that it's impossible (to the extent possible) to later add additional data.

My first try was this:

growisofs -Z /dev/dvd file.iso
growisofs -M /dev/dvd=/dev/zero

Got the following error on the second growisofs command though:

:-[ WRITE@LBA=231020h failed with SK=5h/ASC=21h/ACQ=00h]: No space left on device
:-( write failed: No space left on device
/dev/dvd: flushing cache
/dev/dvd: updating RMA
/dev/dvd: closing disc

My other idea was to try creating the ISO and then use something like dd to append zeros to the end until it's the size of a DVD and then burn it.

Ideas/thoughts/examples?

link|improve this question
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.