Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh/stat: output file birth time under Linux
2021-06-14 13:17:17 +0100, Stephane Chazelas:
[...]
> Other Unices including FreeBSD/macOS have had APIs for that for
> a long time, I don't think there's much standardisation though.
[...]
Looking at revision logs on FreeBSD and NetBSD, looks like it
was added in FreeBSD in 2002 while adding support for UFS2 FS,
and adapted shortly after in 2003 in NetBSD. They just extended
the stat() API there AFAICT.
Note Linux file systems have added support for a birth time a
long while ago, but no API to retrieve it until 2017 oddly
enough.
https://www.freebsd.org/cgi/man.cgi?query=stat&sektion=2&manpath=FreeBSD%2013.0-RELEASE%20and%20Ports
--
Stephane
Messages sorted by:
Reverse Date,
Date,
Thread,
Author