But I’m interested in how yaffs do.Though I’ve read the source code ,but I’m
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.
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
This message was posted to the following mailing lists: