Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 May 2000 11:03:38 +1000
From:      Peter Jeremy <peter.jeremy@alcatel.com.au>
To:        adsharma@sharmas.dhs.org
Cc:        hackers@freebsd.org
Subject:   Re: file creation times ?
Message-ID:  <00May25.110340est.115250@border.alcanet.com.au>

next in thread | raw e-mail | index | archive | help
On Thu, 18 May 2000 10:35:11 -0700, Arun Sharma <adsharma@sharmas.dhs.org> wrote:

>On Thu, May 18, 2000 at 09:04:52PM +0400, Aleksandr A.Babaylov wrote:
>> Arun Sharma writes:
>> > Is there any reason why FreeBSD doesn't store file creation times on
>> > the disk (apart from historical reasons) ?

To put it another way, why _should_ FreeBSD store a file creation time?

>> in adddition to atime, ctime and mtime?
>
>struct timespec st_atimespec;  /* time of last access */
>struct timespec st_mtimespec;  /* time of last data modification */
>struct timespec st_ctimespec;  /* time of last file status change */ 
>
>None of them tell me when the file was created.

That's all Unix has ever offered (both the original AT&T FS and
FFS/UFS).  If you really need a file creation time, you'll need a
different filesystem.

Peter


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00May25.110340est.115250>