LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   cdrecord error burning iso image (https://www.linuxquestions.org/questions/linux-general-1/cdrecord-error-burning-iso-image-171394/)

mooreted 04-17-2004 03:57 PM

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:

#! /bin/bash
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:

scsidev: '/dev/scd0'
devname: '/dev/scd0'
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

mooreted 04-17-2004 04:02 PM

I changed the dev parameter to dev=0,0,0 and it worked! I don't know why I was told to use dev=/dev/scd0. Oh well.

Joey.Dale 04-17-2004 04:22 PM

In the 2.6 tree you don't need scsi emulation. Try dev=/dev/hdX

-Joey

mooreted 04-18-2004 10:15 AM

Oh, cool. I guess I don't need the append statement in Lilo then and my fstab could probably be changed as well.

Thanks, I appreciate it.

Joey.Dale 04-18-2004 10:35 AM

If you want to thank me affero would be nice.
Your welcome
-Joey

mooreted 04-18-2004 11:54 AM

Sorry, I have no idea what affero means.

mooreted 04-18-2004 12:00 PM

Oh, I see. A rating system. So, what do you get out of an affero rating? It looks like I would have to sign up for something to start rating posts. I will if it will help someone.

Joey.Dale 04-18-2004 12:01 PM

under my post there is a link that says "affero"

mooreted 04-19-2004 10:57 AM

Okay, a I "afferoed" you. Thanks again for the help.

Have a good day,
Ted.


All times are GMT -5. The time now is 06:48 PM.