Find out your CDR/W SCSI address/device name
[root@new_platform tmp]# cdrecord -scanbus
scsibus1:
1,0,0 100) 'PLDS ' 'DVD+-RW DH-16AAS' 'JD12' Removable CD-ROM
1,1,0 101) *
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *
Write the ISO onto the CD
cdrecord -v -dao dev=1,0,0 file.iso <------------ use device no from above
cdrecord -v -dao dev=1,0,0 speed=8 file.iso <---------- if you want to set speed
Write the ISO onto the DVD
growisofs -Z /dev/dvd=/tmp/file.iso
growisofs -dvd-compat -Z /dev/hdc=file.iso
dvdrecord -dao dev=1,0,0 file.iso
Append more data for same DVD
growisofs -M /dev/dvd /tmp/file.1
Format (erase) a DVD
dvd+rw-format -force /dev/dvd
dvd+rw-format -force=full /dev/dvd
Display information about dvd drive and disk using dvd+rw-mediainfo command
dvd+rw-mediainfo /dev/dvd
Extra: Create iso image
dd if=/dev/cdrom of=cd.iso <------ for cdrom
dd if=/dev/dvd of=dvd.iso <------ for dvd
sudo dd if=/dev/scd0 of=cd.iso <------ for scsi cdrom
mkisofs -r -o /tmp/var-www-disk1.iso /var/www
Extra: Mount .iso
mount -o loop file.iso /mnt/tmp