[Cialug] Where's the CD Device?

Daniel A. Ramaley daniel.ramaley at drake.edu
Thu Feb 13 13:41:35 CST 2014


Your statement about it showing track files makes me think this is an 
audio CD. Is that correct? If it is, dd won't do what you expect it to. 
Audio CDs are kind of weird. To rip one, i run this:
    $ cdparanoia -vBz "1-"
That will create files in your current directory with names of the form 
track*.cdda.wav.

Then if you need to take the resulting files and burn them on a new copy 
of the CD, do this:
    $ wodim -v -dao -dev=/dev/scd0 -driveropts=noburnfree -audio \
      -pad track*.cdda.wav
Change "scd0" to whatever your CD burner is.

For data CDs, you can rip a perfect image; this is the procedure i use; 
there is probably something simpler:
    $ DEV=/dev/scd0
    $ BS=`isoinfo -i $DEV -d | grep 'block size is' | \
      awk -F': ' '{print $2}'`
    $ COUNT=`isoinfo -i $DEV -d | grep 'Volume size' | \
      awk -F': ' '{print $2}'`
    $ dd bs=$BS count=$COUNT if=$DEV of=file.iso

You can burn a data CD with a command like this:
    $ wodim -v -dao -dev=/dev/scd0 -driveropts=noburnfree file.iso

On 2014-02-12 at 16:26:55 Todd Walton wrote:
> I'm running Mint Xfce for the first time.  I want to rip a CD image. 
> So I put the CD into the CD drive, and it shows up in the file
> manager in the Devices grouping.  If I click on it it shows track wav
> files, and Banshee popped up offering to play the CD or import it for
> me.
> 
> However, neither of those is really what I want.  I want to straight
> rip a copy of the image to an iso file.  dd seems like a sensible
> option for this, but I don't know where the CD device is.  When I
> click on it in the file manager the location bar says cdda://sr0/,
> which is not very helpful. There's nothing under /media or /mnt.  I
> can't 'find' anywhere on teh filesystem that has "cdda" in it. 
> There's a /dev/sr0 and a /dev/cdrom, but neither can be read from.
> 
> Help?  What is this "cdda://" business?  And where do I find the cdrom
> device?
> 
> --
> Todd
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
__
Daniel A. Ramaley
Network Engineer 2

Dial Center 112, Drake University
2407 Carpenter Ave / Des Moines IA 50311 USA
Tel: +1 515 271-4540
Fax: +1 515 271-1938
E-mail: daniel.ramaley at drake.edu



More information about the Cialug mailing list