Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* RL02 dump, skip on error
@ 2010-04-17  9:35 shadoooo
  2010-04-17  9:56 ` Bob Eager
  0 siblings, 1 reply; 4+ messages in thread
From: shadoooo @ 2010-04-17  9:35 UTC (permalink / raw)


Hello.
I'm trying to dump some RL02 disks to image files.
I'm using dd and BSD2.11 to create image file on local disk and then
transfer every single image to PC via FTP.
Some packs have errors, so dd stops when encounters one.
How to do to dump the disks skipping on errors (replacing bad sectors
with 0x00 for example)?
Thanks


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: RL02 dump, skip on error
  2010-04-17  9:35 RL02 dump, skip on error shadoooo
@ 2010-04-17  9:56 ` Bob Eager
  2010-04-17 18:52   ` shadoooo
  0 siblings, 1 reply; 4+ messages in thread
From: Bob Eager @ 2010-04-17  9:56 UTC (permalink / raw)


On Sat, 17 Apr 2010 02:35:11 -0700, shadoooo wrote:

> Hello.
> I'm trying to dump some RL02 disks to image files. I'm using dd and
> BSD2.11 to create image file on local disk and then transfer every
> single image to PC via FTP. Some packs have errors, so dd stops when
> encounters one. How to do to dump the disks skipping on errors
> (replacing bad sectors with 0x00 for example)?
> Thanks

Some versions of dd have the rather non-intuitive option

   conv=noerror




-- 
Use the BIG mirror service in the UK:
 http://www.mirrorservice.org



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: RL02 dump, skip on error
  2010-04-17  9:56 ` Bob Eager
@ 2010-04-17 18:52   ` shadoooo
  2010-04-17 19:02     ` Bob Eager
  0 siblings, 1 reply; 4+ messages in thread
From: shadoooo @ 2010-04-17 18:52 UTC (permalink / raw)


You are right.
But this alone gives you the skip option. To replace the bad sector
with null data, you have to add also "sync", otherwise sectors after
the defective are misaligned.
I understood this later, but in the end I found the solution.
Thanks


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: RL02 dump, skip on error
  2010-04-17 18:52   ` shadoooo
@ 2010-04-17 19:02     ` Bob Eager
  0 siblings, 0 replies; 4+ messages in thread
From: Bob Eager @ 2010-04-17 19:02 UTC (permalink / raw)


On Sat, 17 Apr 2010 11:52:05 -0700, shadoooo wrote:

> You are right.
> But this alone gives you the skip option. To replace the bad sector with
> null data, you have to add also "sync", otherwise sectors after the
> defective are misaligned.
> I understood this later, but in the end I found the solution. Thanks

Oops, yes, forgot that. I did look it up (I remembered there was 
something) but in my haste to post the answer I didn't read on!

conv= really isn't the right place for that option. But then I know the 
command syntax was originally a joke, a parody of IBM JCL...



-- 
Use the BIG mirror service in the UK:
 http://www.mirrorservice.org



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-04-17 19:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-17  9:35 RL02 dump, skip on error shadoooo
2010-04-17  9:56 ` Bob Eager
2010-04-17 18:52   ` shadoooo
2010-04-17 19:02     ` Bob Eager

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox