mtd2block should not expand sparse loopback files
Jörn Engel
joern at wohnheim.fh-wedel.de
Tue May 30 07:03:55 EDT 2006
On Mon, 29 May 2006 08:29:03 -0500, Josh Boyer wrote:
> On 5/27/06, Johannes Niess <linux at johannes-niess.de> wrote:
>
> >I guess that the "fill with 1's" flash strategy is taking its toll together
> >with the "Clean" markers. Can I switch that off? Using
> >"mkfs.jffs2 --no-cleanmarkers" does not help, as does --eraseblock=0.
>
> No you can't switch it off. The filesystem will add them itself.
For now. I have a patch pending that removes the cleanmarker
generation from jffs2. Still needs some polishing, though.
Basically, if the mtd can do implicit erase, like any RAM, disk or
file-based device, there is no point in the cleanmarkers and jffs2
doesn't write them. There might be other cases where they can be
omitted at well.
Jörn
--
He who knows that enough is enough will always have enough.
-- Lao Tsu
More information about the linux-mtd
mailing list