[PATCH 1/1] MTD: Unlocking all Intel flash that is locked on power up

Nicolas Pitre nico at cam.org
Fri Nov 9 15:42:39 EST 2007


On Fri, 9 Nov 2007, Justin Treon wrote:

> > > > > Adding the ability to unlock a partition on mount is not a bad idea, but it
> > > > should
> > > > > not be the only way.  I often write to an mtd block device without mounting
> > it
> > > > and I
> > > > > do not always use jffs2 as my writable filing system.
> > > > 
> > > > Never heard of the MTD flash-unlock user space utility?
> > > > 
> > > 
> > > That does not help me on boot up.  I already have filing sytems that run that
> > > through scripts on startup for some of my test images.
> > 
> > What about a new partition flag then?  When set the unlock method would 
> > be called on the corresponding partition if the partition is not already 
> > marked read-only.
> > 
> 
> Then what is the point of the read only flag?

It is a _software_ mechanism.


Nicolas



More information about the linux-mtd mailing list