Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: ivegotan%at%ombomb%dot%org@spam.spam.die.net (Dr. Strangelove)
Subject: Re: File creation
Date: 1997/11/28	[thread overview]
Message-ID: <347eee31.191641890@132.147.160.254> (raw)
In-Reply-To: 65jqh6$ceg$1@lyra.csx.cam.ac.uk


On 27 Nov 1997 12:53:58 GMT, nmm1@cus.cam.ac.uk (Nick Maclaren) wrote:

>In article <347c9abc.2326623@news.zippo.com>, jcf@internet.siscotel.com (Juan Carlos Fischer) writes:
>|> Hi All !
>|> 
>|> Is there a way to know the date when a file was created?
>
>Not under Unix - come back MVS, all is forgiven :-)  Well, perhaps
>not, at least in this context ....
>
>There are several things for which it would be very useful to know
>when the inode was allocated (i.e. the file was 'created'), but the
>information is not stored.  There is some evidence that struct stat
>ctime field was originally intended to be the creation timestamp,
>but it has been used for the inode change timestamp since the early
>days of Unix.

There is an st_spare3 member of the stat structure, which under DU
contains something, but I've never been bothered to find out what. The
thing is an int and changes when you touch a file, but that's all I
know. Anyone know any more?


Dr. Strangelove
Rewrite the address with the obvious bits taken out if you want to mail me.
mailto:ivegotan%at%ombomb%dot%org%with%no%spam%please
http://www.ombomb.org/
"Put your money on 'The Bribes', they always win." - Jello Biafra



      reply	other threads:[~1997-11-28  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-11-26  5:00 File creation Juan Carlos Fischer
1997-11-27  5:00 ` Nick Maclaren
1997-11-28  5:00   ` Dr. Strangelove [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox