Opened 3 years ago

Last modified 5 months ago

#17243 closed bug

stat command displays nanoseconds with file system: BFS — at Version 2

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 (last modified by fuhllrdv)

https://i.imgur.com/xeNKlmD.png

You see that I have created a text file and edited it. stat command only shows the timestamp correctly under "Modify", just like Tracker shows it.

Under Access and Change you see nanoseconds. But the file system BFS supports only 1-second granularity.

Change History (2)

comment:1 by fuhllrdv, 3 years ago

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. All timestamps have nanoseconds, which should not be because they are not real nanoseconds because BFS only supports 1-second granularity. The nanoseconds displayed there would be useless or why is it displayed? I think it is a bug.

https://i.imgur.com/HkrGiXQ.png

comment:2 by fuhllrdv, 3 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.