From owner-cvs-all Wed Jan 26 14:26: 8 2000 Delivered-To: cvs-all@freebsd.org Received: from green.dyndns.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id B601D14EB2; Wed, 26 Jan 2000 14:26:00 -0800 (PST) (envelope-from green@FreeBSD.org) Received: from localhost (green@localhost) by green.dyndns.org (8.9.3/8.9.3) with ESMTP id RAA01066; Wed, 26 Jan 2000 17:25:50 -0500 (EST) (envelope-from green@FreeBSD.org) X-Authentication-Warning: green.dyndns.org: green owned process doing -bs Date: Wed, 26 Jan 2000 17:25:49 -0500 (EST) From: Brian Fundakowski Feldman X-Sender: green@green.dyndns.org To: Soren Schmidt Cc: =?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 In-Reply-To: <200001250726.IAA63338@freebsd.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk On Tue, 25 Jan 2000, Soren Schmidt wrote: > 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. You can see my work at http://www.FreeBSD.org/~green/read_cd/, the source being read_cd.c, tracks.c, and tracks.h. I haven't tested out how well data works really, and I haven't added jitter correction.... but it's just a start so far. I tried to make it as clean as possible so what it's missing can be added cleanly... MD5 (read_cd.c) = 2c7af9ef3c4171250663ff8fe0d1baab MD5 (tracks.c) = efcbcd1e8b31137de04935b8b2ec27f6 MD5 (tracks.h) = a78bfb1f8d811a91dbb1c44f94c3c318 > -Søren -- Brian Fundakowski Feldman \ FreeBSD: The Power to Serve! / green@FreeBSD.org `------------------------------' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message