Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jan 2008 17:23:53 +0200
From:      Andriy Gapon <avg@icyb.net.ua>
To:        freebsd-scsi@freebsd.org, freebsd-stable@freebsd.org
Subject:   cd(4) as compared to acd(4)
Message-ID:  <478F7309.4040606@icyb.net.ua>

next in thread | raw e-mail | index | archive | help

It seems that cd driver lacks couple of useful features as compared to acd:
1. device nodes for individual tracks: this might not be so useful for
tracks on audio CDs, but it is especially useful for mixed audio/data
CDs and multi-track data CDs;
2. automatic detection of track type (audio/data) and then using proper
READ command (e.g. READ CD) in strategy, so that read(2) works even for
audio CDs (convenient and easy way of doing digital audio extraction);

The second one also breaks "API" compatibility between the drivers: if
you want to do digital audio extraction, you have to know underlying
device type and use different techniques.

It seems that these features are not terribly hard to implement (using
acd as an example). I am not volunteering at this moment, but this could
be added to some "junior hacker tasks" list.

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?478F7309.4040606>