Creating a bin or ISO image of a CD??

David Kelly dkelly at HiWAAY.net
Tue May 20 17:55:38 PDT 2003


On Monday 19 May 2003 08:14 pm, Eduardo Viruena Silva wrote:
> On Mon, 19 May 2003, David Kelly wrote:
> >
> > Some CDROM drives read the CD one block short. Makes it difficult
> > to use raw tools to verify after write.
>
> try:
>
> 	dd if=/dev/acd0c of=my_image bs=2352
>
>
> what version of FreeBSD are you using?
> if you are using versions 4.x you can make:

That's not the same problem. Some CDROM mechanisms on reaching end of 
media report the situation along with the last block of data read. 
Others do not report the end has been reached until an attempt has been 
made to read past it. This is a common issue with tape drives too.

If your drive doesn't report EOM when FreeBSD expects, and/or is not 
handled properly with a quirk table entry, then you can not read an 
identical-length ISO image off the disk as the image you wrote.

2048 is the proper block size when reading ISO-9660 CD's, altho it 
really shouldn't matter.

-- 
David Kelly N4HHE, dkelly at hiwaay.net
=====================================================================
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.


More information about the freebsd-questions mailing list