[Yaffs] Time stamp not updated upon sync

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: Voser, Peter
Date:  
To: yaffs@lists.aleph1.co.uk
Subject: [Yaffs] Time stamp not updated upon sync
Hi all,

When I modify a file, invoke sync and unplug the power of my device, the expected file content has been saved, but the time stamp is still the old one (without fclose invocation).

When I do the same with a friendly reboot, the file content is there *and* the time stamp has been updated (still without fclose invocation).

I would expect the file stamp to be updated with sync, too.

Is this a bug or on purpose?

Thank you,
Peter V.