[haiku-development] Re: Access times of files and stat

Ingo Weinhold <ingo_weinhold@xxxxxx> wrote:
> AFAIK BFS's on disk structure doesn't support an access time. 
> Apparently 
> Axel decided to just return time(NULL), which might not be the best 
> choice. 
> But I don't have any really bright idea either. Maybe one could 
> maintain 
> the access time correctly while the inode is in memory and just 
> forget it 
> when it's evicted. When the inode is loaded from disk, the access 
> (and 
> change) time could be initialized with the modified time. That would 
> probably result in a more consistent behavior.

That would certainly be possible; right now we're doing the same as 
BeOS' BFS.
In case you want that changed, just file an enhancement ticket for it, 
and it will just be a matter of months or years, and it'll finally work 
;-)

Bye,
   Axel.


Other related posts: