Read only forced on jffs2 by mtd layer?

Nicolas Pitre nico at
Fri Mar 10 11:40:33 EST 2006

On Fri, 10 Mar 2006, Josh Boyer wrote:

> On 3/10/06, Artem B. Bityutskiy <dedekind at> wrote:
> > Josh Boyer wrote:
> > > Sorta.  If there isn't enough physical space to write nodes out, then
> > > you can't really have a writeable filesystem.  It'll actually just
> > > return -ENOSPC for everything instead of -EROFS, but the effect is the
> > > same.
> > I mean, if I ask to mount read-write, but end-up with RO, this is bad.
> > Shouldn't I explicitely request RO mount?
> Oh, the mount will still show it as being RW from what I recall.  But
> you won't actually be able to write anything.  Which is also
> confusing.  Especially in the case where it won't even let you
> _delete_ things.

Sure, but what is important here is the exact error returned, be it 


More information about the linux-mtd mailing list