Hi Charles, thanks for your answer.<snip>
Typical usage is this:
- at power up we mount all filesystem in read/write mode
- we read some files from /data (configurations), from /system (images and languages), from /nvram (user configuration) and from /token (customizations)
- during work time we only read from /system what we need and save data to /nvram; saving is performed when something is changed on when we detect that system is being turned off; saving requires from 5 to 15ms (depending on what has changed) and we are quite sure that power supply still remain active at least for 1,2s after we detected power failure
- after saving we *DO NOT* unmount filesystems and we expect the system to die
So the question are:
- is it correct to turn off device without unmounting filesystems?
- may mount mark blocks as deleted?
- if we mount the required partitions in read only mode, could this problem being resolved?
- is there a way from YDI to force a filesystem check programmatically?
Thanks for your support and regards,
Stefano
_______________________________________________
yaffs mailing list
yaffs@stoneboat.aleph1.co.uk
http://stoneboat.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs