jffs2: Too few erase blocks (1)

Dzuy Nguyen dzuy at infinity-studios.com
Mon Feb 9 23:16:05 EST 2009


I think I'll just use ext2.  ext2 doesn't mind small partition.  Writing
to it
should work the same as dd.

Ricard Wanderlof wrote:
> On Mon, 9 Feb 2009, Dzuy Nguyen wrote:
>
>   
>> Thanks, Ricard.  I didn't realize that jffs2 is not suitable for a small
>> partition.  Yes,
>> 64K is all I can afford.  I suppose I can dd the file, but doesn't that
>> provide no wear
>> leveling feature that jffs2 does?
>>     
>
> No. But with one eraseblock you can't get much wear levelling anyway.
>
> It might not be too difficult to write an application that appends 
> new data to existing data to the partition, erasing the whole block when 
> it fills up and write the latest. Then you need something that will search 
> for the latest version of the file. Something that jffs2 does, but on a 
> smaller scale, acceptable for your application.
>
> /Ricard
> --
> Ricard Wolf Wanderlöf                           ricardw(at)axis.com
> Axis Communications AB, Lund, Sweden            www.axis.com
> Phone +46 46 272 2016                           Fax +46 46 13 61 30
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
>   



More information about the linux-mtd mailing list