[Yaffs] mount and remount issue of YAFFS on intiramfs.

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Murali N
Date:  
To: yaffs
Subject: [Yaffs] mount and remount issue of YAFFS on intiramfs.
Hi,
I have booted the kernel (.35) using the initramfs (not from the flash).
As a testing purpose i am trying to mount the YAFFS filesystem onto to
one of  the MTD partition on the flash.
MTD partition information is given through kernel command line option
and also make sure that the partition is erased.
Initially i mounted the YAFFS filesystem onto above erased MTD
partition and i am able to see only 'lost+found" directory.
Later i have copied bunch of files, i am able to see those file
contents properly before unmount.
After i umount and mount back the partition. After the remount i am
not able seen the files which i had copied.
Also not seen any error messages from either YAFFS or nand driver.

Here i am thinking whether the actual write is happens onto flash or
not? If it is YES then when i remount i should be able to see the
contents.
I have given forcefully 'sync' option from the command prompt even
that didn't work.

Can anyone please share your thoughts/suggestions on this behavior?

--
Regards,
Murali N