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: nmm1@cus.cam.ac.uk (Nick Maclaren) Subject: Re: File creation Date: 1997/11/27 Message-ID: <65jqh6$ceg$1@lyra.csx.cam.ac.uk>#1/1 X-Deja-AN: 293140076 Sender: nmm1@taurus.cus.cam.ac.uk (Nick Maclaren) References: <347c9abc.2326623@news.zippo.com> Organization: University of Cambridge, England Newsgroups: comp.unix.osf.osf1 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. Nick Maclaren, University of Cambridge Computer Laboratory, New Museums Site, Pembroke Street, Cambridge CB2 3QG, England. Email: nmm1@cam.ac.uk Tel.: +44 1223 334761 Fax: +44 1223 334679