Opened 3 years ago
Last modified 3 years ago
#17242 new bug
Access time (atime) is not updated when editing text file
Reported by: | fuhllrdv | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | File Systems/BFS | Version: | R1/beta3 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
Under Haiku OS stat command shows access time. As you can see I have edited the text file, you can see that the Modification Time (mtime) has been updated. But after editing, access time (atime) was not updated.
It would be very good if Tracker can display access time. So I don't always have to type stat command.
Haiku OS supports this.
https://www.haiku-os.org/docs/api/classBStatable.html#a55dea9fb7be6e844b6515f73ee0a929a
Change History (3)
comment:1 by , 3 years ago
comment:2 by , 3 years ago
BFS doesn't store any access time.
comment:3 by , 3 years ago
BFS doesn't store any access time. related #15102
Thank you for the information.
It would be very good if current stat command could be removed, it has too many errors. This gives rise to many misunderstandings.
It should be added back later and when users run stat command it must not show any timestamp at "Access" because as you say the BFS does not store access time.
This was only tested with the Live CD.
Here is a second bug:
When I install Haiku OS (R1/beta3) on the hard disk and edit the text file and run stat command the access time is automatically updated, so it is not possible to get the original access time. The second bug needs to be fixed.
Note: I use BFS as file system by default.