Some news for this: [PATCH] [MTD] BLOCK_RO: Readonly Block Device Layer Over MTD ?
joern at logfs.org
Wed Nov 21 12:15:02 EST 2007
On Wed, 21 November 2007 10:58:17 -0600, Josh Boyer wrote:
> > 2007/11/21, Jörn Engel <joern at logfs.org>:
> > >
> > > What problem does the driver solve?
> > It allow to use cramfs/squashfs/fat in read-only on NAND flash for
> > embedded systems.
> Not really. It allows you to put one of those filesystems into
> NAND using a bad-block aware program initially, and mount it. It
> doesn't handle run-time bit flips or errors from what I can see.
Whether that is necessary I cannot tell. Maybe some people have
hardware where this isn't an issue.
But why yet another mtdblock driver? Is there a reason not to add the
required bits to mtdblock_ro.c?
Correctness comes second.
Features come third.
Performance comes last.
Maintainability is easily forgotten.
More information about the linux-mtd