From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,6c25a163c69cf1ee X-Google-Attributes: gidfee84,public From: ivegotan%at%ombomb%dot%org@spam.spam.die.net (Dr. Strangelove) Subject: Re: File creation Date: 1997/11/28 Message-ID: <347eee31.191641890@132.147.160.254>#1/1 X-Deja-AN: 293425641 References: <347c9abc.2326623@news.zippo.com> <65jqh6$ceg$1@lyra.csx.cam.ac.uk> Reply-To: ivegotan%at%ombomb%dot%org@spam.spam.die.net Organization: Internet Network Services Newsgroups: comp.unix.osf.osf1 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