#!/bin/bash # Make CD of .iso file cdrecord -v -eject speed=16 dev=1,3,0 -data RHELv3.4_disc-1.iso # Check for DVD dvdrecord -v -eject -dao speed=4 dev=0,0,0 -data SL.304.021105.i386.iso # *** Begin - Finding the DVD Drive *** # #cdrecord -scanbus #Cdrecord-Clone 2.01a32-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg #Schilling #Note: This version is an unofficial (modified) version with DVD support #Note: and therefore may have bugs that are not present in the original. #Note: Please send bug reports or support requests to #http://bugzilla.redhat.com/bugzilla #Note: The author of cdrecord should not be bothered with problems in this #version. #Linux sg driver version: 3.1.25 #Using libscg version 'schily-0.8'. #cdrecord: Warning: using inofficial libscg transport code version (schily - #Red Hat-scsi-linux-sg.c-1.83-RH '@(#)scsi-linux-sg.c 1.83 04/05/20 #Copyright 1997 J. Schilling'). #scsibus0: # 0,0,0 0) '_NEC ' 'DVD_RW ND-2500A ' '1.70' Removable CD-ROM # 0,1,0 1) * # 0,2,0 2) * # 0,3,0 3) * # 0,4,0 4) * # 0,5,0 5) * # 0,6,0 6) * # 0,7,0 7) * # # *** End - Finding the DVD Drive ***