DVD Operations in Linux

How to burn a dvd ?

Syntax: growisofs -dvd-compat -Z {device-path}={iso-file}

# growisofs -dvd-compat -Z /dev/dvdrw=data.iso

	Executing 'builtin_dd if=data.iso of=/dev/dvdrw obs=32k seek=0'
	/dev/dvdrw: "Current Write Speed" is 2.0x1352KBps.
	builtin_dd: 192*2KB out @ average infx1352KBps
	/dev/dvdrw: flushing cache
	/dev/dvdrw: writing lead-out

How to blank a DVD – RW ?

Syntax: dvd+rw-format -force {device-file-path}	

# dvd+rw-format -force /dev/dvdrw

	* BD/DVD±RW/-RAM format utility by , version 7.0.
	* 4.7GB DVD-RW media in Restricted Overwrite mode detected.
	* formatting 86.2%

How to write a multisession DVD ?

First create the iso and burning can be done normally as explained above. There is no need to create a second ISO, you can directly specify which files to be appended to DVD.

Syntax: 
  -M to merge a new session
  Final argument indicates the files to be appended.

# growisofs -dvd-compat -M /dev/dvdrw -R -J t1/

	Executing 'mkisofs -C 16,560 -M /dev/fd/3 -R -J t1/ | builtin_dd of=/dev/dvdrw obs=32k seek=35'
	I: -input-charset not specified, using utf-8 (detected in locale settings)
	Rock Ridge signatures found
	Total translation table size: 0
	Total rockridge attributes bytes: 404
	Total directory bytes: 0
	Path table size(bytes): 10
	Max brk space used 0
	742 extents written (1 MB)
	/dev/dvdrw: "Current Write Speed" is 2.0x1352KBps.
	builtin_dd: 192*2KB out @ average infx1352KBps
	/dev/dvdrw: flushing cache
	/dev/dvdrw: copying volume descriptor(s)
	/dev/dvdrw: flushing cache
	/dev/dvdrw: reloading tray