ext2 for read-only file system on UBI

Artem Bityutskiy dedekind at infradead.org
Mon May 19 03:57:36 EDT 2008


On Mon, 2008-05-19 at 10:54 +0300, Artem Bityutskiy wrote:
> > Thanks for the links. So, read-write with mtdblock is dangerous
> > (regardless of UBI) because it must erase and rewrite a whole block,
> > right?
> 
> Yes, and you loose plenty of data in case of power-cuts.
> 
> >  Proposed ubiblk (linked from above) would use UBI ops to make the
> > update operation safe.
> 
> I have not looked that close at Nancy's patches because I did not like
> her unreasonable copy-paste stuff. But I assume she would do something
> like I proposed here:
> 
> http://lists.infradead.org/pipermail/linux-mtd/2008-January/020381.html

Basically the idea is to implement something as straightforward as
mtdblock, but using the "atomic LEB change" [1] operation and do not
loose data in case of power-cuts.

1. http://www.linux-mtd.infradead.org/doc/ubi.html#L_lebchange

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)




More information about the linux-mtd mailing list