Re: file/directory creation date and time

"John DeSoi (as john at desoi dot dev)" <[email protected]>
Newsgroups gmane.lisp.lispworks.general
Message-ID <0100019af4619bca-81d8edf0-9f0e-46cb-9bdb-ddd4de7c17dd-000000@email.amazonses.com>
Yes, osicat uses birthtime on darwin. 

Thanks to all for providing ideas and suggestions.

John DeSoi, Ph.D.


> On Dec 5, 2025, at 1:15 PM, Martin Simmons <[email protected]> wrote:
> 
> That's not quite true: some filesystems maintain a birthtime/btime, which is
> the time when the file was created.  You can read it by stat(2) on BSD and
> macOS systems and by statx(2) on newer versions of Linux but LispWorks doesn't
> put in this in the system::stat structure.  E.g. See
> https://man.freebsd.org/cgi/man.cgi?query=stat&apropos=0&sektion=2&manpath=FreeBSD+15.0-RELEASE+and+Ports&arch=default&format=html
> 
> Also, stime is usually called ctime on Unix.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.