public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Jffs2 on MTD
@ 2002-07-27 12:09 invictus rm
  2002-07-30 22:32 ` David Woodhouse
  0 siblings, 1 reply; 2+ messages in thread
From: invictus rm @ 2002-07-27 12:09 UTC (permalink / raw)
  To: linux-mtd

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-07-30 22:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-27 12:09 Jffs2 on MTD invictus rm
2002-07-30 22:32 ` David Woodhouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox