persistence of files using jffs

David Woodhouse dwmw2 at
Fri Jul 14 03:37:36 EDT 2000

kayemmess at said:
>    (1) mknod /dev/mtd3 b 31 3   (mtd3 is where the fs 'partition' is,
>                                  using examples from nora.c)

The block devices should be /dev/mtdblock<n>. /dev/mtd3 should be a 
character device. But the names don't really matter.

kayemmess at said:
>  And I can 'umount /mnt' successfully as well.
> However, when I cycle power on the system, any *new* files I create or
> copy into this space are lost. 

Hmmm. Are they there when you unmount and remount? Can you make sure you're 
using the latest version from CVS, and enable CONFIG_JFFS_FS_VERBOSE?


To unsubscribe, send "unsubscribe mtd" to majordomo at

More information about the linux-mtd mailing list