LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-04-2005, 10:48 AM   #1
umk
Member
 
Registered: Jan 2005
Distribution: debian (woody)
Posts: 36

Rep: Reputation: 15
Question about cdrdao


Hi,

I'm trying to use cdrdao to copy an audio cd. I've got two CD drives: the "normal" CD-ROM device is under hdc and the writer is hdd. My problem is that I can't use the command:

cdrdao copy --source-device ??? -- device 0,0,0

because I don't know the source-device name of my CD-ROM drive. I've tried to find it out by "cdrdao scanbus", but this only indicates the device name of the CD writer drive, namely 0,0,0.

Can somebody please help?

Thanks, umk
 
Old 03-04-2005, 11:30 AM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
I suppose there are other ways to do this but how about the commands:
eject /dev/cdrom
and
eject /dev/cdrom1
then use that info in your statement.
 
Old 03-04-2005, 12:11 PM   #3
umk
Member
 
Registered: Jan 2005
Distribution: debian (woody)
Posts: 36

Original Poster
Rep: Reputation: 15
Thanks for the reply,
eject /dev/cdrom doesn't work. The command is not found. umk
 
Old 03-04-2005, 12:40 PM   #4
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
I ran that command as su -
You could use whereis to find it.....
# whereis eject
eject: /usr/bin/eject /usr/share/man/man1/eject.1.gz

Then you could run the command: /usr/bin/eject cdrom or cdrom1
 
Old 03-04-2005, 01:05 PM   #5
umk
Member
 
Registered: Jan 2005
Distribution: debian (woody)
Posts: 36

Original Poster
Rep: Reputation: 15
I know that /dev/cdrom is the name of the device, maybe I wasn't clear enough... I've installed eject
and the drive opens fine.

The problem is that the option --source-device <?> of cdrdao expects a three integer name, like e.g.
0,0,0. And this is what I still don't know. umk
 
Old 03-04-2005, 06:46 PM   #6
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
If you are using the 2.4 kernel, the devices might look like this...
--device 0,0,0 --source-device 1,0,0

You can find out what kernel with the command: uname -r

So, you may have success with one of these lines.

cdrdao copy --device 0,0,0 --source-device 1,0,0
cdrdao copy --device 0,0,0 --source-device /dev/hdc ### or /dev/hdd
cdrdao copy --device 0,0,0 --source-device /dev/cdrom ### or /dev/cdrom1


and if you are using the 2.6 kernel, the devices might look like this...
--device ATA:1,0,0 --source-device ATA:1,1,0

For my system, cdrdao works with anyone of these lines

cdrdao copy --device ATA:1,0,0 --source-device ATA:1,1,0
cdrdao copy --device ATA:1,0,0 --source-device /dev/hdd
cdrdao copy --device ATA:1,0,0 --source-device /dev/cdrom1

and using cdrecord, anyone of these lines work on my machine

cdrecord -v dev=ATA:1,0,0 -isosize /dev/hdd
cdrecord -v dev=ATA:1,0,0 -isosize /dev/cdrom1
 
Old 03-06-2005, 09:18 AM   #7
umk
Member
 
Registered: Jan 2005
Distribution: debian (woody)
Posts: 36

Original Poster
Rep: Reputation: 15
Homey,

thanks for your help, I've tried all names that you suggested, but it didn't work. Anyway, as you said there's other ways of doing things - I've only used the CD Writer drive and I managed to make an ISO of my CD and then burn it with cdrdao. umk
 
Old 03-24-2005, 05:30 PM   #8
cdevos
LQ Newbie
 
Registered: Jul 2004
Location: Brussels, Belgium
Distribution: Debian
Posts: 2

Rep: Reputation: 0
You can try this to know which /dev/hdx corresponds to scsi devices:
cdrecord -scanbus

Of course, you need to install cdrecord.
Run the command as root (or use sudo).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
another ATAPI with cdrdao question DB9 Linux - Hardware 6 04-07-2004 03:19 PM
cdrdao question or two wr3ck3d Linux - Software 0 11-08-2003 12:10 PM
CDRDAO configuration question Viper Linux - Software 12 06-21-2003 12:46 PM
cdrdao vexer Linux - Software 1 05-15-2003 12:49 AM
cdrdao twk Linux - Software 2 05-19-2002 06:37 PM


All times are GMT -5. The time now is 07:36 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration