Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jan 2000 08:26:38 +0100 (CET)
From:      Soren Schmidt <sos@freebsd.dk>
To:        green@FreeBSD.org (Brian Fundakowski Feldman)
Cc:        sos@FreeBSD.org (=?ISO-8859-1?Q?S=F8ren?= Schmidt), cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/ata ata-all.c ata-all.h ata-disk.c         ata-dma.c atapi-all.c atapi-cd.c atapi-cd.h atapi-fd.c
Message-ID:  <200001250726.IAA63338@freebsd.dk>
In-Reply-To: <Pine.BSF.4.21.0001250057420.3983-100000@green.dyndns.org> from Brian Fundakowski Feldman at "Jan 25, 2000 01:02:54 am"

next in thread | previous in thread | raw e-mail | index | archive | help
It seems Brian Fundakowski Feldman wrote:
> 
> I've got a question.  Okay, I want to make backups of my audio CD
> collection; is the correct way to get the TOC, lseek() to the LBA
> on the acd device (which?), and read for the length the TOC reports?
> Also, does this obsolete jitter correction, or just make it different,
> or what?  I'm asking because I'd like to provide a "backupcd" script
> for the examples, as well as using it myself.

You got that right! use the acd0c device (not that it really matters
they are both equal), seek to the LBA wanted and just dd it in.
Remember though that you have to set the blocksize with an ioctl
call, or the kernel will get confused.

This can be used to copy any type of CD actually :)

When I get more time, hopefully after 4.0, I plan to implement
DiskAtOnce mode in burncd, that way you just read the _entire_
CD into a file get the TOC and burn it in one go.

-Søren


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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