LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-17-2003, 09:18 PM   #1
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
Burning CDs via the command line in Redhat 9


I know there is a burning utility in the graphical interface, but I'd like to setup a cron job that will burn a list of files to a CDRW at regular intervals.

I have never used my CD burner on this machine before, so I'm not even sure if it's going to work. It's an HP CdWriter 9500 that's connected with an IDE cable. I've been hearing that maybe I need to have it plugged into a SCSI card?

If somebody can get me headed in the right direction, that would be excellent. I'm not necessarily interested in writing the cron job immediately. If somebody can just walk me thru the command line stuff that I need, I can figure out the cron later.

Thanks in advance!
 
Old 08-17-2003, 09:31 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
well no it does not need to be connected to a scsi card, you will just need scsi-emulation...
anyways in the terminal type:
cdrecord --scanbus
and you will get your device number in the first column in the output...
for instance mine says:
scsibus0:
0,0,0 0) 'AOPEN ' 'CD-RW CRW2040 ' '1.22' Removable CD-ROM
so by that i see it is 0,0,0
after you find out that info you can then burn from command line
an example of a command i would use is:
cdrecord --dev=0,0,0 -speed 20 -eject nameofFile

so to break it down you will specify your device with --dev=
then you can specify the speed at which you want to burn at, and then -eject will eject the cd after burn completes, and then lastly you give the name of the file...
typing :
cdrecord -help
will give you a big list of available commands..
 
Old 08-17-2003, 10:21 PM   #3
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Original Poster
Rep: Reputation: 31
I did that, but there is an error. It says something to the effect of...

cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.75-RH '@(#)scsi-linux-sg.c

What could this mean? It never said anything like what you described. I take this to mean the drive isn't being recognized. What can I do to correct this?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Burning an .iso at the command line Galaxy_Stranger Linux - Newbie 8 11-01-2005 10:37 AM
CD burning from command line newbie007007 Linux - General 4 12-19-2004 12:20 AM
Burning CDs on the command line Quattro Linux - Hardware 3 03-30-2004 03:09 AM
Need help burning/erasing DVDs from command line enygma Linux - Software 2 03-17-2003 12:24 PM
How to listen to audio CDs on Suse7 using the command line? juszuf7 Linux - General 1 10-10-2002 07:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration