On Thursday 12 July 2012 01:47:13 S. K. wrote:
> The fault tolerance is one of the important property of a filesystem. Is
> ECC the only mechanism that help to the YAFFS to be fault tolerant?
The ECC is only a small part of it and handles media-level corruptions.
The log structure is a far bigger player in providing robustness.
Many file systems such as FAT have various tables etc than can be left in a
bad state if updates are interrupted. This can cause the files and possibly
even the whole file system to be corrupted.
A log structured file system does not have these sorts of tables and what is
not stored cannot be corrupted.
I suggest you read the Yaffs Robustness And Testing document which can be
found in a few places including here:
http://users.actrix.co.nz/manningc/yaffs-docs/YaffsRobustnessAndTesting.pdf
-- CHarles