Won't (for example) `dd if=/dev/rsd0a of=/dev/rsd0a bs=32k
conv=notrunc`
do just that? You probably don't need the `conv=notrunc'
when using the
raw partition.
I suppose it would, but that seems scary. I'd like to see
something
that retries the reads, perhaps many times, falling back to
single
sectors from blocks, and only rewrites areas that read ok,
saving a
log of non-rewritten sectors. I've just never gotten around
to
writing this....
--
Greg Troxel <gdt ir.bbn.com>
|