Jffs2 on MTD

invictus rm invictus_rm at hotmail.com
Sat Jul 27 08:09:58 EDT 2002


hi ,
I have partitioned my flash( strata) as follows
mtd0 .....
mtd1 .....
mtd3: 01dc0000 00040000 "JFFS2"

After that i have mounted the jffs2 as (without doing cp jffs2.img > 
/dev/mtd3)

>mount -t jffs2 /dev/mtdblock3 /mnt/jffs2
>cd /mnt/jffs2

Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/mtdblock3           30464      1284     29180   4% /mnt/jffs2


I am not copying the jffs2 image on to the /dev/mtd3 before mouting but 
rather copying the files after mounting ( i mean putting the required files 
after i have mounted the /dev/mtdblock3)

The reason why i am doing this is becoz i do not need the directory 
structure of a regular filesystem.

Does this make any difference in terms of flash usage as compared to the 
case where i would have copied the jffs2.img to mtd3 and then  mounted it .

rgds
rm


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com





More information about the linux-mtd mailing list