Re: [RFC] read-only filesystem support for NAND flash devices

David Woodhouse
2006-05-11T22:26:02Z

On Thu, 2006-05-11 at 12:06 -0700, Russ Dill wrote:
> Free block list? Bad block list? Tracking of block numbers? Sounds
> like a full on FTL to me.

A full read-write FTL needs to handle 512-byte writes if it's going to
pretend to be a normal block device. A simple FTL for read-only stuff
like cramfs/squashfs doesn't need that.

We should probably do this kind of thing as an FTL -- we already have
the 'mtd_blkdevs' infrastructure to help you by doing most of the
interfacing to MTD and block layers for you. And then you can use any
read-only file system on it.

--
dwmw2