Support of removable MTD devices and other advanced features (follow-up from lkml)

Alex Dubov oakad at yahoo.com
Sat May 24 09:12:23 EDT 2008


--- Jörn Engel <joern at logfs.org> wrote:

> On Fri, 23 May 2008 05:49:48 -0700, Alex Dubov wrote:
> > 
> > We are talking about somewhat different things here. Userspace visible
> devices
> > (highest layer in mtd stack) must support something complex. Lower levers
> in
> > the mtd stack - not necessarily so.
> > 
> > Highest level "raw mtd" devices can be normal block devices with support
> for
> > custom commands. Intermediate and low level modules can do with simple
> > interface.
> 
> Either I misunderstand you or you are forgetting that filesystems deal
> with raw mtd devices, which are the lowest levels in your stack afaics.
> JFFS2 and LogFS will deal directly with the chip driver and bypass any
> intermediate layers.  UBIFS will talk to UBI as a middle layer, which
> again talks directly to the chip driver.
> 

Do UBI and JFFS always operate in terms of whole eraseblocks or they may
attempt  partial block writes? Different flash chips have different
capabilities in regard to writing and this can be used to some advantage.




      



More information about the linux-mtd mailing list