From owner-freebsd-hackers Thu May 25 2:32:46 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from gatekeeper.tsc.tdk.com (gatekeeper.tsc.tdk.com [207.113.159.21]) by hub.freebsd.org (Postfix) with ESMTP id ECAF237BDF6 for ; Thu, 25 May 2000 02:32:42 -0700 (PDT) (envelope-from gdonl@tsc.tdk.com) Received: from imap.gv.tsc.tdk.com (imap.gv.tsc.tdk.com [192.168.241.198]) by gatekeeper.tsc.tdk.com (8.8.8/8.8.8) with ESMTP id CAA08262; Thu, 25 May 2000 02:32:36 -0700 (PDT) (envelope-from gdonl@tsc.tdk.com) Received: from salsa.gv.tsc.tdk.com (salsa.gv.tsc.tdk.com [192.168.241.194]) by imap.gv.tsc.tdk.com (8.9.3/8.9.3) with ESMTP id CAA78947; Thu, 25 May 2000 02:32:35 -0700 (PDT) (envelope-from Don.Lewis@tsc.tdk.com) Received: (from gdonl@localhost) by salsa.gv.tsc.tdk.com (8.8.5/8.8.5) id CAA20546; Thu, 25 May 2000 02:32:35 -0700 (PDT) From: Don Lewis Message-Id: <200005250932.CAA20546@salsa.gv.tsc.tdk.com> Date: Thu, 25 May 2000 02:32:35 -0700 In-Reply-To: <20000524185859.A19573@sharmas.dhs.org> References: <00May25.110340est.115250@border.alcanet.com.au> <20000524185859.A19573@sharmas.dhs.org> X-Mailer: Mail User's Shell (7.2.6 beta(5) 10/07/98) To: Arun Sharma , Peter Jeremy Subject: Re: file creation times ? Cc: hackers@FreeBSD.ORG Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On May 24, 6:58pm, Arun Sharma wrote: } Subject: Re: file creation times ? } On Thu, May 25, 2000 at 11:03:38AM +1000, Peter Jeremy wrote: } > To put it another way, why _should_ FreeBSD store a file creation time? } } 0. I'm tired of seeing people putting "Created: mm/dd/yy" in their documents. When saving a document to "file", many editors will do the equivalent of save document to "file.new" ln "file" "file.bak" mv "file.new" "file" in order to minimize the possibility of losing the document if the editor or the system crashes at just the wrong time. The result of this would be to set the file creation time to the time it was last saved. This won't be very helpful if you are relying on the file creation time to tell you when the *document* was first created. NFS doesn't support this file timestamp, so you lose if the file is stored on another server. The tar archive format doesn't support this timestamp, so a document that is archived using tar and later restored will lose its notion of when it was created. What should the semantics of the creation time be across a backup and restore? Should the original creation time be restored, or should the creation time be the time when the restored copy of the file is written? What about just copying a file? If I make an exact copy of a document, should the two copies have the same or differing creation times? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message