dd an audio cd on 5.x ?

2003-07-08 Thread Ion-Mihai Tetcu
Hi,


I need to make an image (I do need a copy so saving and writting 
individual tracks is of no use) of an audio CD, but when I try:
# dd if=/dev/acd0c of=bizprez.iso bs=2048
 I get :
dd: /dev/acd0c: Invalid argument
because devfs is nicely making the acd0t0nn files in /dev and no acd0c.

How can this be overcome ?


Thanks,
IOnut
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dd an audio cd on 5.x ?

2003-07-08 Thread Lowell Gilbert
Ion-Mihai Tetcu [EMAIL PROTECTED] writes:

 I need to make an image (I do need a copy so saving and writting 
 individual tracks is of no use) of an audio CD, but when I try:
 # dd if=/dev/acd0c of=bizprez.iso bs=2048

That command will copy a data disk, but you have separate
tracks on this thing.

  I get :
 dd: /dev/acd0c: Invalid argument
 because devfs is nicely making the acd0t0nn files in /dev and no acd0c.

Which is appropriate, because there isn't *any* filesystem
on your disk.

 How can this be overcome ?

The closest I think you can get is the suggestion in the
cdrecord manual, which uses cdda2wav and cdrecord to get as
much of the lead-in, lead-out, and CD-text information
correct as possible.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dd an audio cd on 5.x ?

2003-07-08 Thread Ion-Mihai Tetcu
On Tuesday 08 July 2003 22:55, Lowell Gilbert wrote:
 Ion-Mihai Tetcu [EMAIL PROTECTED] writes:
  I need to make an image (I do need a copy so saving and writting
  individual tracks is of no use) of an audio CD, but when I try:
  # dd if=/dev/acd0c of=bizprez.iso bs=2048

 That command will copy a data disk, but you have separate
 tracks on this thing.

Ok. And if I want to copy bit by bit ?

   I get :
  dd: /dev/acd0c: Invalid argument
  because devfs is nicely making the acd0t0nn files in /dev and no
  acd0c.

 Which is appropriate, because there isn't *any* filesystem
 on your disk.

I know.


  How can this be overcome ?

 The closest I think you can get is the suggestion in the
 cdrecord manual, which uses cdda2wav and cdrecord to get as
 much of the lead-in, lead-out, and CD-text information
 correct as possible.

I'll try, thanks

IOnut
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dd an audio cd on 5.x ?

2003-07-08 Thread Chuck Swiger
Ion-Mihai Tetcu wrote:
On Tuesday 08 July 2003 22:55, Lowell Gilbert wrote:
[ ... ]
That command will copy a data disk, but you have separate
tracks on this thing.
Ok. And if I want to copy bit by bit ?
You'd have to obtain the glass master used to press the original to get an 
absolutely exact copy.  bit-by-bit accuracy of the raw CD is not very easy or 
even desirable to obtain due to ECC hardware fixing minor errors: for audio, you 
want a bit-by-bit accurate copy of the data after ECC processing, not before.

Better CD-burners let you do something known as DAO+96 ot TAO+96, which lets you 
override the ECC hardware when reading or writing, and thus copy even the errors 
from the original, which can be useful for copy-protected data CD's rather than 
for audio

--
-Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dd an audio cd on 5.x ?

2003-07-08 Thread Ion-Mihai Tetcu
On Tuesday 08 July 2003 23:43, Chuck Swiger wrote:
 Ion-Mihai Tetcu wrote:
  On Tuesday 08 July 2003 22:55, Lowell Gilbert wrote:

 [ ... ]

  That command will copy a data disk, but you have separate
  tracks on this thing.
 
  Ok. And if I want to copy bit by bit ?

 You'd have to obtain the glass master used to press the original to
 get an absolutely exact copy.  bit-by-bit accuracy of the raw CD is
 not very easy or even desirable to obtain due to ECC hardware fixing
 minor errors: for audio, you want a bit-by-bit accurate copy of the
 data after ECC processing, not before.

OK, do you know any method to do it under BSD ? There are some cdtools 
in the ports that claim to do DAE - but I haven't the time to look in 
thecode to see how it is done and if there is any difference between 
using a SCSI an an IDE drive.

 Better CD-burners let you do something known as DAO+96 ot TAO+96,
 which lets you override the ECC hardware when reading or writing, and
 thus copy even the errors from the original, which can be useful for
 copy-protected data CD's rather than for audio

We have a potential client who asked about studying both cases and make 
him a app that could say if it's an original or not so this sounds 
interesting (we're pretty new on this).

Thanks,
IOnut
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dd an audio cd on 5.x ?

2003-07-08 Thread Viktor Lazlo


On Tue, 8 Jul 2003, Ion-Mihai Tetcu wrote:

 On Tuesday 08 July 2003 22:55, Lowell Gilbert wrote:
  Ion-Mihai Tetcu [EMAIL PROTECTED] writes:
   I need to make an image (I do need a copy so saving and writting
   individual tracks is of no use) of an audio CD, but when I try:
   # dd if=/dev/acd0c of=bizprez.iso bs=2048
 
  That command will copy a data disk, but you have separate
  tracks on this thing.

 Ok. And if I want to copy bit by bit ?

12.5.5 Duplicating Audio CDs gives instructions on using dd to duplicate
an audio CD.

Cheers,

Viktor
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dd an audio cd on 5.x ?

2003-07-08 Thread Viktor Lazlo


On Tue, 8 Jul 2003, Viktor Lazlo wrote:



 On Tue, 8 Jul 2003, Ion-Mihai Tetcu wrote:

  On Tuesday 08 July 2003 22:55, Lowell Gilbert wrote:
   Ion-Mihai Tetcu [EMAIL PROTECTED] writes:
I need to make an image (I do need a copy so saving and writting
individual tracks is of no use) of an audio CD, but when I try:
# dd if=/dev/acd0c of=bizprez.iso bs=2048
  
   That command will copy a data disk, but you have separate
   tracks on this thing.
 
  Ok. And if I want to copy bit by bit ?

 12.5.5 Duplicating Audio CDs gives instructions on using dd to duplicate
 an audio CD.

Heh oops, that was meant to be:

Section 12.5.5 Duplicating Audio CDs of the Handbook gives instructions on
using dd to duplicate an audio CD.

Cheers,

Viktor
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dd an audio cd on 5.x ?

2003-07-08 Thread Ion-Mihai Tetcu
On Wednesday 09 July 2003 01:05, Viktor Lazlo wrote:
 On Tue, 8 Jul 2003, Ion-Mihai Tetcu wrote:
  On Tuesday 08 July 2003 22:55, Lowell Gilbert wrote:
   Ion-Mihai Tetcu [EMAIL PROTECTED] writes:
I need to make an image (I do need a copy so saving and
writting individual tracks is of no use) of an audio CD, but
when I try: # dd if=/dev/acd0c of=bizprez.iso bs=2048
  
   That command will copy a data disk, but you have separate
   tracks on this thing.
 
  Ok. And if I want to copy bit by bit ?

 12.5.5 Duplicating Audio CDs gives instructions on using dd to
 duplicate an audio CD.

Which is from where i've started this thred ;) kinnda.
I don't want gest to copy the tracks, but also the rest. And know if I 
get the same CDDB discid.

Thanks,
IOnut

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dd an audio cd on 5.x ?

2003-07-08 Thread Chuck Swiger
Ion-Mihai Tetcu wrote:
[ ... ]
You'd have to obtain the glass master used to press the original to
get an absolutely exact copy.  bit-by-bit accuracy of the raw CD is
not very easy or even desirable to obtain due to ECC hardware fixing
minor errors: for audio, you want a bit-by-bit accurate copy of the
data after ECC processing, not before.
OK, do you know any method to do it under BSD ? There are some cdtools 
in the ports that claim to do DAE - but I haven't the time to look in 
the code to see how it is done and if there is any difference between 
using a SCSI an an IDE drive.
Modern CD-ROM burners use the SCSI command set and thus behave much like a SCSI 
device modulo various per-device quirks: the ATAPICAM module connects IDE 
CD-ROM's (ATAPI CD-ROM's) via the SCSI CAM system.

Better CD-burners let you do something known as DAO+96 ot TAO+96,
which lets you override the ECC hardware when reading or writing, and
thus copy even the errors from the original, which can be useful for
copy-protected data CD's rather than for audio
We have a potential client who asked about studying both cases and make 
him a app that could say if it's an original or not so this sounds 
interesting (we're pretty new on this).
2048 bytes of actual data get turned into ~2536 bytes of Reed-Solomon ECC 
encoded data.  There is also a 94 byte subchannel + 2 byte checksum (for 96) 
which is used to contain CD+G data and other information, which is probably a 
part of what you'll need to consider to have the CDDB diskid match.

For example, man burncd has the following:

 vcd   Set the write mode to produce VCD/SVCD tracks for the fol-
   lowing image files on the command line.  This automatically
   sets DAO (-d) and ``no gaps'' (-n) modes.
A good copy of a professionally mastered audio disk obviously will not have 
2-second gaps between tracks (burned DAO and not TAO), will be closed 
(fixate), etc.  I'm not an expert, however-- perhaps talk to sos at 
freebsd.org who wrote a goodly portion of this infrastructure for FreeBSD...

--
-Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dd an audio cd on 5.x ?

2003-07-08 Thread Ion-Mihai Tetcu
On Wednesday 09 July 2003 01:43, Chuck Swiger wrote:
 Ion-Mihai Tetcu wrote:
 [ ... ]

  You'd have to obtain the glass master used to press the original

thanks for all

IOnut
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]