dvd+rw-format command examples
dvd+rw-format – formatting and blanking DVD and BD media program.
Actual device names vary from one operating system to another. We use /dev/dvd as a collective name or as symbolic link to the actual device if you wish. Under Linux it will most likely be a device such as “/dev/sr0” or “/dev/hda” for older Linux 2.6.
To blank a CD-RW, you have to use another utility, e.g. wodim:
wodim blank=fast -immed dev=/dev/cdrom cdrskin blank=all|fast|as_needed -immed dev=/dev/cdrom xorriso -outdev /dev/cdrom -blank all|fast|as_needed
To format CD-RW, you can use cdrwtool:
cdrwtool -d /dev/cdrom -q
To blank a DVD-RW and put in the incremental sequential mode, run:
dvd+rw-format -blank=full /dev/dvd
To blank a DVD-RW and put in the Restricted Overwrite mode, run:
dvd+rw-format -force /dev/dvd
To overwrite data of BD-RE, DVD+RW, DVD-RW or DVD-RAM run:
growisofs -Z /dev/dvd=/dev/zero
To blank a DVD-RAM, you can use:
dd if=/dev/zero of=/dev/dvd
To relocate lead-out sector, run:
dvd+rw-format -lead-out /dev/dvd