Can 256K erase blocks work with JFFS2?

David Woodhouse dwmw2 at infradead.org
Sun Feb 15 06:08:16 EST 2004


On Sun, 2004-02-15 at 01:53 -0800, Marc Singer wrote:
> When creating the jffs2 filesystem, if I set the erase block size to
> 256 then the filesystem created is twice the size of my total flash
> capacity--can't use it.  The default of 64 produces a modest
> filesystem of 5MB.

256 would be a problem. 256KiB would be fine. Precisely what did you
tell mkfs.jffs2, and what version of mkfs.jffs2 is it? Only recent
versions will _assume_ you're lying if you tell it 256 bytes, and
silently assume 256KiB instead.

-- 
dwmw2





More information about the linux-mtd mailing list