mtd filesystem across different sector sizes in the same part

David Woodhouse dwmw2 at infradead.org
Mon Oct 6 15:36:27 EDT 2003


On Mon, 2003-10-06 at 14:33 -0500, Cam Mayor wrote:
> After doing a flash storage map for one of our devices and based on reading a 
> recent question to this list, i thought of another question.
> 
> In my flash part (intel 28f320c3) there are 8 x 8kB blocks and 63 x 64 kB 
> blocks.  I believe that [1] MTD can span the two block sizes effectively for 
> it to be recognized as a single MTD device.  JFFS2, IIRC, uses 5 flash blocks 
> for flash filesystem overhead.  Do those blocks have to be any specific size 
> relative to the rest of the filesystem blocks?  Will it use the first five 
> blocks, or does it move around for wear levelling?  Will JFFS2 get confused 
> by different block sizes, or is that already handled in the MTD layer?  

JFFS2 will use the 'major' erase size, and treat your 8 * 8KiB blocks as
a single 64KiB block.

-- 
dwmw2





More information about the linux-mtd mailing list