Re: [Yaffs] Time stamp not updated upon sync

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: yaffs
CC: Voser, Peter
Subject: Re: [Yaffs] Time stamp not updated upon sync
resend because list was down
On Wednesday 09 September 2009 22:30:28 Voser, Peter wrote:
> 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?


Hi Peter

At present a file system sync just snapshots the file system (ie does a
checkpoint) . It does not flush the headers for the individual files.

A friendly reboot closes all the files

Is this a bug? Well I guess it depends on the desired functionality.

-- CHarles