From f2696f2c8aab1febbda3a21a3e7c6ca8b2e394ad Mon Sep 17 00:00:00 2001 From: trasz Date: Wed, 1 May 2019 18:56:22 +0000 Subject: [PATCH] Add 'Birth' to 'stat -x' output. Current Linux stat(1) also includes that. Reviewed by: cem MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D20130 --- usr.bin/stat/stat.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr.bin/stat/stat.c b/usr.bin/stat/stat.c index 0b63a4067ca..e504333c332 100644 --- a/usr.bin/stat/stat.c +++ b/usr.bin/stat/stat.c @@ -112,7 +112,8 @@ __FBSDID("$FreeBSD$"); "Device: %Hd,%Ld Inode: %i Links: %l%n" \ "Access: %Sa%n" \ "Modify: %Sm%n" \ - "Change: %Sc" + "Change: %Sc%n" \ + " Birth: %SB" #define TIME_FORMAT "%b %e %T %Y" -- 2.45.0