Date: Thu, 15 Mar 2001 21:03:34 -0600 From: David Kelly <dkelly@grumpy.dyndns.org> To: Salvo Bartolotta <bartequi@inwind.it> Cc: Ted Mittelstaedt <tedm@toybox.placo.com>, freebsd-questions@FreeBSD.ORG Subject: Re: Dumb "Raw mode" CD copying question... Message-ID: <200103160303.f2G33Ye93367@grumpy.dyndns.org> In-Reply-To: Message from Salvo Bartolotta <bartequi@inwind.it> of "Thu, 15 Mar 2001 20:13:15 GMT." <20010315.20131500@bartequi.ottodomain.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 all
> 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 (simply
> (?)) make a raw CD copy -- ie, as it were, how to copy à 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 <track-mode>
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 <track-mode>: 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 "<filename>" [ <length> ]
Adds data from given file to actual data track. If
<length> is omitted the actual file length will be
used.
A single session data cd can be read with:
% dd if=/dev/cd0c bs=2048 of=file.iso
A useful thing to do after burning a disc is to verify its contents:
% dd if=/dev/cd0c bs=2048 | md5
--
David Kelly N4HHE, dkelly@hiwaay.net
=====================================================================
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103160303.f2G33Ye93367>
