Summary: | stat: Include nanoseconds in the timestamp in the default output format | ||
---|---|---|---|
Product: | Base System | Reporter: | Peterr346 <pof10534> |
Component: | bin | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | Open --- | ||
Severity: | Affects Some People | CC: | 0mp, Rincebrain, akw24542, fbsd-bugzilla |
Priority: | --- | Keywords: | feature, needs-patch |
Version: | CURRENT | ||
Hardware: | Any | ||
OS: | Any |
Description
Peterr346
2021-03-27 01:09:14 UTC
One may want to create a feature request upstream (OpenZFS) for this I don't think OpenZFS is the correct upstream for a requested change in stat(1)'s output. stat is capable of showing nanoseconds, take a look at Bug 253370. This would just be a question of whether the default format should be changed. (In reply to David Schlachter from comment #3) > stat is capable of showing nanoseconds, take a look at Bug 253370. > This would just be a question of whether the default format should be changed. I think here only changing the default format is requested only for stat without additional commands. >Expected behavior: >stat / >159 2 drwxr-xr-x 25 root wheel 1048 512 >Accessed: "Mar 27 02:39:54.640747015 2021" >Modified: "Mar 27 02:39:54.640747015 2021" >Changed: "Mar 27 02:39:54.640747015 2021" >Created: "Jan 1 00:59:59.000000000 1970" >32768 8 0 / |