Sellam wrote:
On Thu, 16 Jun 2005, Al Kossow wrote:
I'm
not sure, but dd does.
As long as you don't hit a bad block.
Someone (I think Jules or Philip) figured out there's an option you can
specify on the command line to tell dd to skip bad blocks and replace any
bad sectors with zeroes.
I'm thinking that was Tom Jennings. I meant to follow up with the
tidbit below at the time but put it off and forgot about it.
Trust, but verify: a while back I did this with early FreeBSD 4.x
(x<=2 I think) and found that the bad block was not replaced with
zeroes (as the man page stated) but with the data from the previous
block. It did log the bad block to stderr, and that is what I really
wanted, and I didn't try to reproduce the problem or debug the code.
-Frank McConnell