What if you don't know the size, say, you are trying to burn someone's cd to have a copy for yourself. Peter Horton wrote:
> On Fri, Jan 05, 2001 at 11:49:10AM -0500, Antonio Rodriguez wrote: > > Hi Steve, hi all. Tried > > dd if=/dev/scd0 of=d3.iso > > with my deb official cd 3 (potato rev2). > > md5sum d3.iso gives not the supposed value. > > When I do it from xcdroast I get the right md5sum. > > Where is the problem? Are you sure that there no options left out > > somewhere? > > The ISO image read of the CD is probably a sector or two > too long. If you know the correct size then you can just do > > dd if=/dev/scd0 of=d3.iso bs=2k count=<file length / 2048> > > HTH, > > P. > > -- > P. Horton > Software Engineer > http://www.colonel-panic.com > Linux 2.4.0