On Tue, Aug 26, 2014 at 10:50:54PM +0100, Peter Corlett wrote:
[...]
What's the best free Unix tool[0] for doing this?
Sure, I know about dd and
cdparanoia, but those only extract data and CDDA respectively, and I'd prefer
produce an actual image complete with TOC, subchannels, etc. [...]
And to summarise the answers: use dd and cdparanoia, or some wrapper thereof,
or spend money on Windows. Which is pretty much the underwhelming response I
feared.
Failing that, I can go off and *write* one, but
I'd rather not spend the
effort if something suitable already exists and has already been well-tested
and confirmed to not make subtle errors in rips.
So I'm going to take this route. I've acquired a copy of the MMC-6 standard,
which is surprisingly eloquent as standards documents go, and it all looks
straightfoward to read raw sectors and get at all of the lovely metadata that
dd and cdparanoia throw away.
The only real gotcha is that direct SCSI access is OS-dependent. Windows is
pay-to-play, so bugger that. OSX doesn't expose the functionality to userspace,
and I'm not all that inclined to go kernel-hacking. Linux is utterly trivial
through the /dev/sg* devices, and FreeBSD's CAM stuff looks well-designed, so
I'm going to target those two platforms.