Eraseblock size in jffs2 ?

martin.kula at martin.kula at
Wed Oct 10 12:31:29 EDT 2001


I have any questions.

1. How can I set eraseblock size for mkfs.jffs2 ?

I have DoC 24MB and line in /proc/mtd is:
dev:    size   erasesize  name
mtd0: 01800000 00002000 "DiskOnChip 2000"

2. Must I use erase command when I create jffs2 on the DoC ?
   Or better: Can I use next command line only for create jffs2 on
   the DoC ?
   # mkfs.jffs2 -e XXXXXX -d directory >/dev/nftla1



More information about the linux-mtd mailing list