JFFS2 mounting problem

Amit Sharma amitsharma91 at gmail.com
Thu Jul 28 03:57:23 EDT 2005


Hi  all

I am working on JFFS2 MTD driver on NAND device

I try to copy file to JFFs2 partition before mounting my device to mnt
partition but after mounting i do not find any file in my mount
directory.

Can any one help me why i donot find any file in mount directory after
mounting when device have file.

mkfs.jffs2 -d /home/jffs2stuff -o /tmp/jffs2.image
cat /tmp/jffs2.image >/dev/mtdblock/0
mount -t jffs2 /dev/mtdblock/0 /mnt/
ls
--------No file available--------

but i am able to create file after mounting in jffs2 partition.

Regards
AK




More information about the linux-mtd mailing list