I think so.

But Im interested in how yaffs do.Though Ive read the source code ,but Im still confused and not get the right code about how determine the write is correct.As I saw in uffs (another filesystem),they write one redundent byte in the last of a page to tell this page has been wrote correctlt.So how yaffs copes with this situation,could you please tell me .

Thanks a lot.

---

Regards,

Ezio

 

On 2012-02-09 21:42, Charles Manning wrote:
> On Tuesday 07 February 2012 23:38:27 EzioZhang wrote:
> > As subject,if I wrote something to one chunk,but powerloss before write
> > complete. As a result,I could not determin weather this chunk wrote
> > correctly?
> >
> > For example,the first 2048byte is wrote correctly,but the last few byte of
> > the OOB area does not write,how can I cope with this situation?
>
> YAFFS will handle this for you with no effort on your part. That chunk will be
> ignored.
>
> -- CHarles
>
>
>