[Yaffs] *****SPAM***** Is there a method sync cache to disk

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: 杨标(Vinge)
Date:  
To: yaffs
New-Topics: Re: [Yaffs] Is there a method sync cache to disk
Subject: [Yaffs] *****SPAM***** Is there a method sync cache to disk
Hi all:
    I just port yaff2 to ucos in direct mode with a 2k page 512m nand flash. 
But as user of my device like to just shutdown the power. yaffs2 file system
is most likey not been unmount! Is there a method to sync cache to nand?
Or how can I just provent lost the cache data to be lost in poweroff?
Should I close the file every time after write to it? 
Or event unmount and remount the dev?
    

        
          2009-06-01