[haiku-bugs] [Haiku] #16766: stat command does not show birth entry (creation time)

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Fri, 22 Jan 2021 21:19:10 -0000

#16766: stat command does not show birth entry (creation time)
-------------------------------------------------+-------------------------
 Reporter:  Katharina                            |       Owner:  nobody
     Type:  bug                                  |      Status:  new
 Priority:  normal                               |   Milestone:
                                                 |  Unscheduled
Component:  - General                            |     Version:  R1/beta2
 Keywords:  coreutils, timestamp, creation time  |  Blocked By:
 Blocking:                                       |    Platform:  x86-64
-------------------------------------------------+-------------------------
 Hello,

 I have created a .txt file on desktop. In default file manager under list
 view (manually add "Created" to column) birth time = creation time is
 displayed.

 But when I do with `stat` command it shows me this. Birth entry is not
 displayed, it shows an empty character `-`.

 Access: 2021-01-21 02:24:51.235050163 +0000

 Modify: 2021-01-21 02:24:49.608383509 +0000

 Change: 2021-01-21 02:24:49.608383509 +0000

 Birth: -


 The problem can be fixed when using coreutils 8.31 and later, because
 since version 8.31 `stat` command can display the creation time when the
 file system stores it.
 https://lists.gnu.org/archive/html/coreutils/2019-03/msg00042.html
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/16766>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: