On 20-Aug-99 Amancio Hasty wrote:
This is a summary of the information that I gather over the last
few days with respect to CD recorders.
It appears that the preferred and better supported CD recorders are
scsi . To shorten the gap what is needed is for ATAPI cd recorders
to be integrated into CAM so that we may present a unified interface
to both ATAPI and SCSI CD drives. Post on -hackers if you are
interested in working on such a project.
The rest of this document will deal with scsi cd recorders.
Software Tools :
cdrecord is used to burn the CDs . cdrecord http home:
http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/cd
r
ecord.htm
cdrecord supports CD-R, CD-RW and Audio CD (Red Book) formants.
cdda2wav which is now bundled with cdrecord can extract audio CD tracks.
cdrecord is part of the ports/sysutils collection.
toshais another scsi tool to extract CD audio tracks and it is
in the ports/audio directory . tosha is native program to
FreeBSD. tosha was written by Oliver Fromme
[EMAIL PROTECTED]
cdd another native freebsd program to extract CD audio tracks was
written by Charles Henrich and is
part of the ports/audio collection.
mkisofs is used to create an iso 9660 cd image. It is located
in the ports/sysutils collection
If one of the audio "rippers" does not work report the problem after
first making sure that the program does indeed support your
CD disk unit and then just try another one.
For a list of "reported to work" drives that work with cdrecord + cdd2wav
see:
http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/cd
w
riters-1.8.html
External vs. Internal I find that my YAMAHA CRW6416sz scsi cd
recorder runs rather cool . Some members on the list have reported
that at least early models of their CD-Recorders run hot so they preferred
to have them external due to the heat problem and/or portability .
A little bit on cdrecord.
To determine which scsi recorder is installed in your system issue:
cdrecorder -scanbus
Cdrecord release 1.8a22 Copyright (C) 1995-1999 Jörg Schilling
scsibus0:
0) 'SEAGATE ' 'ST34501W' '0017' Disk
1) 'YAMAHA ' 'CRW6416S' '1.0b' Removable CD-ROM
2) *
3) 'SEAGATE ' 'ST15150W' '0023' Disk
4) *
5) *
6) *
7) *
scsibus1:
100) *
101) *
102) *
103) *
104) *
105) 'UMAX' 'UMAX S-12 ' 'V2.0' Scanner
106) *
107) *
So my Yamaha CD recorder is scsi bus 0 , scsi address 1, lun 0.
I recommend sticking this information in /etc/default/record
cat /etc/default/cdrecord
CDR_DEVICE=1,0
What this means is that every time that cdrecord runs it
gets is device info from /etc/default/cdrecord .
If you feel somehow compel to always specify the scsi device in
cdrecord, the syntax is: -dev=bus,scsi address, lun or
-dev=scsi address, lun
in my case is:
-dev=1,0 (the default scsi bus is 0)
I recommend for the first few times to use a CD-RW. They
are more expensive than CD-R;however, for playing for the first
time with your scsi cd recorder they can actually probably
save you a lot of money.
Now that you have all your hardware and software in place what can you do 8)
To create an iso cd9660 with a CD-RW:
mkisofs -R /mount/dir | cdrecord -blank=fast -v fs=6m speed=3 -
mkisofs pipes an ISO 9660 cd image to cdrecord.
cdrecord does the actual cd burning:
-blank=fastfirst it does a quick blank
-v verbose mode so you can see what is doing
fs=6m forks a process and uses a 6MB buffer
speed=3usually CD-RW can only be burned
as fast as 4X you will have to experiment
with your cd recorder to see what speed
works best.
Take a break pending upon the size of the image the process
can take 1/2 hour to just a few minutes so kick back and relax.
Here is session for creating audio cds.
mkdir cdtracks
cd cdtracks
cddwa2wav -B
This command generates tracks in the format of:
audio_nn.wav where nn is a track number . audio in .wav format
audio_nn.inf where nn is a track number . pregap info
cdrecord -blank=fast -audio -useinfo audio*.wav
-blank=fast blanks your CD-RW for CD-R don't include
this command
-audiosets audio cd recording
-useinfo use the pregap info generated by cdd2wav
*.inf files
Issues:
In the list