On Mon, 2004-05-17 at 23:41, [EMAIL PROTECTED] wrote:
<snipped>
> Anyway, my question is:  how does writing something to a bad block
> force the disk to reallocate the block?  And, is it the disc that does
> this, or Linux?

When the disk itself cannot write to the block, it does the
reallocation, if it is able (It only has a certain number of spare
blocks).

Why would you manually want to force the block reallocation? After all,
the next time a write is attempted to that block, the disk will
automatically re-allocate it.

My guess is file recovery. Of course using the stated method means you
will recover a file with a bunch of 0s where there once was data, but at
least you can recovery the data after the bad block...

Cheers,
Malcolm V.

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to