Re: [Yaffs] how yaffs handle read error or read fail when mo…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: yaffs
Subject: Re: [Yaffs] how yaffs handle read error or read fail when mount?
On Thursday 07 June 2012 13:39:28 Ezio Zhang wrote:
> as seen in source code,yaffs just read data from flash and calcuate
> ECC,but when read one page has error ,it only report errors whithout
> doing anything else.
> So when mounting,yaffs read data from flash to re-construct files,if a
> file's some chunks are not read correct,how process this file?


The file will still be reconstructed. Missing chunks will be visible as holes
(ie. all bytes 0x00).