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

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 08 Dec 2008 17:02:04 +0100 CET

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 
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 


Other related posts: