From f35f34b153b5606e3dc54277273d6dcc2c16074c Mon Sep 17 00:00:00 2001 From: Edward Tomasz Napierala 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 0b63a4067caf..e504333c3329 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"