Henrik Nordstrom hno at
Wed Jan 8 15:33:31 EST 2003

On 8 Jan 2003, Russ Dill wrote:

> roll your own: Please, make a static compressed filesystem (like cramfs)
> that incorporates extra blocks, so that when the checksum is bad while
> initially writing the filesystem, or reading the file system (in the
> case where ecc can save the data), it rewrites this block to a free
> sector). It would seem like a simple modification to cramfs to me.

It would indeed be quite simple to adopt cramfs to bad blocks as long as
the superblock can be read. You only need to make a list of bad blocks,
and then teach mkcramfs about this, avoiding allocating the bad areas when
making the filesystem layout.

For generic bad-block management it would probably be more beneficial to
all to add a simple (and free from the (N)FTL patent issue) translation
layer capable of dealing with bad blocks and/or ECC I think.


More information about the linux-mtd mailing list