Is a JFFS2 image needed for dataflash ?

maser maseriyer at yahoo.com
Tue Apr 1 00:22:17 EDT 2008


Per this:

http://mailman.uclinux.org/pipermail/uclinux-dev/2003-January/014455.html

It looks like a JFFS2 FS is created on the fly on the
following commands: 

eraseall /dev/mtd0
mount -t jffs /dev/mtdblock0 /mnt
cp /usr/ls /mnt


If the JFFS2 FS is created on the fly on mounting to a
dataflash partition, why do we need to invoke the
mkfs.jffs2 utility to make a JFFS2 image for a
dataflash such as the AT45DBxxx?

The sysinit script could have something on the lines
of this :

/bin/mount -t jffs2 /dev/mtdblock2 /mnt

Thanks,
iyer




      ____________________________________________________________________________________
Like movies? Here's a limited-time offer: Blockbuster Total Access for one month at no cost. 
http://tc.deals.yahoo.com/tc/blockbuster/text4.com



More information about the linux-mtd mailing list