burncd no longer in 10.0?

Polytropon freebsd at edvax.de
Wed Feb 12 11:01:52 UTC 2014


On Tue, 11 Feb 2014 20:59:38 +0100 (CET), Volker Nebel wrote:
> Hi everybody!
> 
> Since this year, my macmini is running under FreeBSD 10.0 :)
>     Now I wanted to burn a CD, hoping not to run into technical 
> difficulties with the CD drive connected via USB... But I already fail 
> when I want to issu [CMD]burncd ...[\CMD] - this program seems not to 
> exist at all! I have installed cdrtools-3.00_2 for [CMD]mkisofs[\CMD], 
> but burncd does not exist, so the handbook says, it should be part of the 
> basesystem!
>     Any ideas?

The reason might be the deprecation of the acd (ATAPI CD) driver
subsystem. The corresponding device files like /dev/acd0 for data
tracks and even /dev/acd0tXX (00-99) for audio traks have gone.
The control interface also has been eliminated, so burncd has
nothing to talk to. In my opinion, removing it from the installation
was the logical consequence. What should follow is a note in the
handbook to avoid the confusion you have been running into.

During the last years, "SCSI over ATA" has been perfectioned and
merged into the kernel, beginning with "device atapicam" and now
being the standard interface. This way, all recording utilities
that "talk the SCSI language" can access PATA and SATA recorders
in the same way they could with SCSI recorders for decades. So
your best choice would be to migrate to those tools. They include
cdrecord, cdrdao, cdparanoia and growisofs.

Note that on older systems (for example v8) both interfaces could
be used in parallel. Here's an example from my home desktop with
both "device atapicd" and "device atapicam" in the kernel:

First the ATAPI devices as you would expect them to be used with
burncd:

% dmesg | grep ^acd
acd0: DVDR <HL-DT-ST DVDRAM GSA-H42N/RL00> at ata1-master UDMA66 
acd1: DVDROM <HL-DT-STDVD-ROM GDR8163B/0L30> at ata1-slave UDMA33

% atacontrol list
ATA channel 1:
    Master: acd0 <HL-DT-ST DVDRAM GSA-H42N/RL00> ATA/ATAPI revision 7
    Slave:  acd1 <HL-DT-STDVD-ROM GDR8163B/0L30> ATA/ATAPI revision 6

And here they are in their SCSI incarnation:

% dmesg | grep ^cd
cd0 at ata1 bus 0 scbus0 target 0 lun 0
cd0: <HL-DT-ST DVDRAM GSA-H42N RL00> Removable CD-ROM SCSI-0 device 
cd0: 66.000MB/s transfers
cd1 at ata1 bus 0 scbus0 target 1 lun 0
cd1: <HL-DT-ST DVD-ROM GDR8163B 0L30> Removable CD-ROM SCSI-0 device 
cd1: 33.000MB/s transfers

% camcontrol devlist
<HL-DT-ST DVDRAM GSA-H42N RL00>    at scbus0 target 0 lun 0 (pass0,cd0)
<HL-DT-ST DVD-ROM GDR8163B 0L30>   at scbus0 target 1 lun 0 (pass1,cd1)

Commands like cdrdao and cdrecord expect you to specify the device
to record to as B:T:L or B,T,L (bus, target, logical unit number)
as you can see from the outputs, but growisofs lets you use the
device /dev/cd0 -- and you can use /etc/devfs.conf to make a symlink
/dev/dvd@ -> /dev/cd0 appear so the examples from "man growisofs"
will apply directly. :-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list