State of read-only filesystems in NAND / MTD bad blocks handling when reading

Thilo Fromm fromm at dresearch-fe.de
Fri May 4 04:08:23 EDT 2012


Hello Artem,

>>   I can answer that one.
>>
>>   MTD "materializes" an imperfect block storage device. It contains
>>   m PEBs (Physical Erase Blocks) of n pages each. It can erase whole
>>   PEBs, write pages, and read pages, but some of these pages are
>>   bad, other pages may go bad, and you have to be aware that you
>>   can wear out PEBs by repeated erasures.
>
> Nitpick: s/block device/flash device/ or something like this. Term block
> device has more or less standard meaning and neither MTD nor UBI devices
> are block devices:
>
> http://www.linux-mtd.infradead.org/faq/general.html#L_mtd_vs_hdd

Yes, and that's quite a problem. Thanks for clarification, Artem.

Regards,
Thilo

-- 
Dipl.-Ing (FH) Thilo Fromm, MSc., Embedded Systems Architect
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, D-10319 Berlin, Germany
Tel: +49 (30) 515 932 228   mailto:fromm at dresearch-fe.de
Fax: +49 (30) 515 932 77    http://www.dresearch.de
Amtsgericht: Berlin Charlottenburg, HRB 130120 B
Ust.-IDNr. DE273952058
Geschäftsführer: Dr. M. Weber, W. Mögle



More information about the linux-mtd mailing list