Skip to contentSkip to conversation

jffs2 minimum mtd block size

DISCUSSION mike 2 participants 2 messages Dec 1, 2004 Memory technology devices (MTD)

lore
Share & tools
lore

mike

author
#0 lore raw

Dear all
I want to ask about minimum mtdblock size which jffs2 need . Why i
ask is because i try to make a 128kbyte mtdblock for my system status storage, it fails. And i repartition to 1MB, it consumes the flash nearly 600KB without any data.
Am i do something wrong? or there is a minimum size for jffs2.
If it is, Could i conclude that jffs2 do not suit to store small
size of data. And which filesystem expertise can suggest me for this purpose?

best regard
mike,lee

#1 lore raw
Quoted 9 lines · mike

Dear all
I want to ask about minimum mtdblock size which jffs2 need . Why i
ask is because i try to make a 128kbyte mtdblock for my system status storage, it fails. And i repartition to 1MB, it consumes the flash nearly 600KB without any data.
Am i do something wrong? or there is a minimum size for jffs2. If it is, Could i conclude that jffs2 do not suit to store small
size of data. And which filesystem expertise can suggest me for this purpose?

It needs at least one or two eraseblocks free for garbage collection; currently it's a little more conservative than that though. You can reduce the reserved space in jffs2_calc_trigger_levels() in build.c

Signature · 1 line
dwmw2