[Yaffs] Re: yaffs BAD sector management queries!

Wookey wookey@aleph1.co.uk
Tue, 26 Oct 2004 14:17:25 +0100


+++ Abhishek Bhattacharya [04-10-26 13:57 +0530]:
> Hello Charles
>  
> I have a doubt about BAD sector management.

> Well, we do a scan for bad blocks at boot up, fine! In your last mail , we
> came to know that, once you mark it DEAD we never use it again, but if there
> is a situation where a block becomes BAD at run time, how should we counter
> such a situation? 

YAFFS detects such runtime failures (by the errors it gets back from the OS)
and marks any such blocks BAD so they are not used again. 

Wookey
-- 
Aleph One Ltd, Bottisham, CAMBRIDGE, CB5 9BA, UK  Tel +44 (0) 1223 811679
work: http://www.aleph1.co.uk/     play: http://www.chaos.org.uk/~wookey/