Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Mar 2021 01:09:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 254593] Show nanoseconds timestamp in stat command for ZFS (file system)
Message-ID:  <bug-254593-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254593

            Bug ID: 254593
           Summary: Show nanoseconds timestamp in stat command for ZFS
                    (file system)
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: pof10534@cuoly.com

Description:

There are users who want to have nanoseconds in stat command, because these
users use file systems like ZFS which internally stores nanosecond timestam=
ps.

https://forums.freebsd.org/threads/how-to-change-the-stat-command-time-form=
at-because-of-nanoseconds.79045/#post-495945


I also agree that it must be displayed as standard.

That means

Current behavior only with stat command:
stat /
159 2 drwxr-xr-x 25 root wheel 1048 512 "Feb 24 19:25:21 2021" "Mar 27 02:3=
9:54
2021" "Mar 27 02:39:54 2021" "Jan  1 00:59:59 1970" 32768 8 0 /


Expected behavior:
stat /
159 2 drwxr-xr-x 25 root wheel 1048 512=20

Accessed: "Mar 27 02:39:54.640747015 2021"=20
Modified: "Mar 27 02:39:54.640747015 2021"=20
Changed:  "Mar 27 02:39:54.640747015 2021"=20
Created:  "Jan  1 00:59:59.000000000 1970"=20

32768 8 0 /

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254593-227>