Hello everyone

I am new to yaffs! just going through the code, I wanted to know , how do you take care of bad sector management? The garbage collection aspect is pretty straight forward, but not quite clear about bad sector? Any info please?

By the way, I am going through yaffs direct source code.
regards
abhishek