Bug 201999 - [feature request] [PATCH] stat(1): add Birth time in -x display mode
Summary: [feature request] [PATCH] stat(1): add Birth time in -x display mode
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2015-07-31 02:11 UTC by Andrey Fesenko
Modified: 2015-07-31 02:11 UTC (History)
0 users

See Also:


Attachments
stat.c diff add Birth time (343 bytes, patch)
2015-07-31 02:11 UTC, Andrey Fesenko
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Fesenko 2015-07-31 02:11:30 UTC
Created attachment 159403 [details]
stat.c diff add Birth time

Add displaying Birth time in -x (linux) display mode

Perhaps it is worth adding the display of other parameters

For example Linux output:
Inode: 1179652 Type: regular Mode: 0644 Flags: 0x80000
Generation: 1390581126 Version: 0x00000000:00000001
User: 0 Group: 0 Size: 140
File ACL: 0 Directory ACL: 0
Links: 1 Blockcount: 8
Fragment: Address: 0 Number: 0 Size: 0
ctime: 0x534ff70e:c3dda9a0 -- Thu Apr 17 11:45:18 2014
atime: 0x55ba2229:351e05bc -- Thu Jul 30 09:10:01 2015
mtime: 0x53056bec:00000000 -- Wed Feb 19 21:43:56 2014
crtime: 0x534ff70e:c3dda9a0 -- Thu Apr 17 11:45:18 2014
Size of extra inode fields: 28
EXTENTS:
(0):4751361