cdrecord error burning iso image
Okay, I read instructions here in the forum and consequently wrote a shell script to create data CDs from the command line:
mkisofs -r -o burn.iso /home/mooreted/burn/
cdrecord dev=/dev/scd0 speed=40 -eject burn.iso
The ISO is created but cdrecord gives me this error:
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.7'
cdrecord: Invalid argument. Cannot get SCSI I/O buffer.
I have reread the instructions and looked all over the forums and my code looks okay. What did I do wrong?
I am using kernel 2.6.3-7.mdk