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? กกกกกกกกกกกกกกกกven.vinge@gmail.com กกกกกกกกกกกกกกกกกกกก2009-06-01