mkfs.jffs2

David Woodhouse dwmw2 at infradead.org
Fri Aug 13 08:31:46 EDT 2004


On Fri, 2004-08-13 at 12:02 +0000, Stefan Stürke wrote:
> My problem is, that I cannot be sure which erasesize the
> target flash will have. Because two flash types with different
> sector sizes (64k and 128k) have to be supported.
> 
> Is it possible to create a jffs2 image that can run on both flashes,
> or do I have to create two diffenent images?

You can use the smaller erasesize, as long as you don't include
cleanmarkers. 

> My current command for creating the filesystem is:
> 
> mkfs.jffs2 -b -e $erasesize -p -r $source -o fs.jffs2

Use:
 -b -e 64KiB -p -n -r $source -o fs.jffs2

-- 
dwmw2





More information about the linux-mtd mailing list