LWN.net Logo

You could also update the DVD

You could also update the DVD

Posted Jan 11, 2007 16:19 UTC (Thu) by mcmechanjw (subscriber, #38173)
Parent article: Unionfs

While it is true that unionfs is a nice way to provide updates to a DVD growisofs provides for adding files to a already written DVD+/-R/RW/RAM directly via the -M option until it is full or the disk is closed
As a example a script I use looks like this - most of which is concerned with updating the md5sum file, and then checking the md5sum of the files on the dvd.

mount /mnt/dvd
cat /mnt/dvd/md5sum >>md5sum
find $FILES -type f -print0 | xargs -0 md5sum >>md5sum
umount /mnt/dvd
ulimit -l unlimited
growisofs -M /dev/dvd -r $FILES md5sum
mount /mnt/dvd
(cd /mnt/dvd;md5sum -c md5sum)


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds