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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-17-2003, 09:18 PM
|
#1
|
|
Member
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736
Rep:
|
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!
|
|
|
|
08-17-2003, 09:31 PM
|
#2
|
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
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..
|
|
|
|
08-17-2003, 10:21 PM
|
#3
|
|
Member
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736
Original Poster
Rep:
|
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?
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:02 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|