From owner-freebsd-questions Thu Mar 15 19: 4:24 2001 Delivered-To: freebsd-questions@freebsd.org Received: from grumpy.dyndns.org (user-24-214-76-236.knology.net [24.214.76.236]) by hub.freebsd.org (Postfix) with ESMTP id 733FC37B71A for ; Thu, 15 Mar 2001 19:04:21 -0800 (PST) (envelope-from dkelly@grumpy.dyndns.org) Received: from localhost (localhost [127.0.0.1]) by grumpy.dyndns.org (8.11.2/8.11.2) with ESMTP id f2G33Ye93367; Thu, 15 Mar 2001 21:03:34 -0600 (CST) (envelope-from dkelly@grumpy.dyndns.org) Message-Id: <200103160303.f2G33Ye93367@grumpy.dyndns.org> X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: Salvo Bartolotta Cc: Ted Mittelstaedt , freebsd-questions@FreeBSD.ORG Subject: Re: Dumb "Raw mode" CD copying question... In-Reply-To: Message from Salvo Bartolotta of "Thu, 15 Mar 2001 20:13:15 GMT." <20010315.20131500@bartequi.ottodomain.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Thu, 15 Mar 2001 21:03:34 -0600 From: David Kelly Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Salvo Bartolotta writes: > = > BTW, cdrao enables me to copy all the tracks of an audio CD in a shot. = I > have looked at the existing software in the ports; I seem to find out a= ll > kinds of manipulation programs ("rippers", "converters", etc.) > = > >From a practical standpoint, these are the most used/useful/sought-for= > applications nowadays in the .mp3 era :-) Yet I am missing how to (simp= ly > (?)) make a raw CD copy -- ie, as it were, how to copy =E0 la [s]dd(1).= Have not tried it but I believe cdrdao will do that. Its smart enough = to figure out what is on the disc, data, audio, or a mix, take note of = it, read the tracks, then turn around and put it back on your blank. This part of the cdrdao(1) manpage leads me to believe it will do what = you ask: Track Specification TRACK Starts a new track, the track number is incremented by 1. The length of a track must be at least 4 sec- onds. The block length of the input data depends on the : AUDIO: 2352 bytes (588 samples), MODE1: 2048 bytes, MODE1_RAW: 2352 bytes, MODE2: 2336 bytes, MODE2_FORM1: 2048 bytes, MODE2_FORM2: 2324 bytes, MODE2_FORM_MIX: 2336 bytes including the sub-header, MODE2_RAW: 2352 bytes. If the input data length is not a multiple of the block length it will be padded with zeros. [...] DATAFILE "" [ ] Adds data from given file to actual data track. If is omitted the actual file length will be used. A single session data cd can be read with: % dd if=3D/dev/cd0c bs=3D2048 of=3Dfile.iso A useful thing to do after burning a disc is to verify its contents: % dd if=3D/dev/cd0c bs=3D2048 | md5 -- David Kelly N4HHE, dkelly@hiwaay.net =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message