From owner-freebsd-fs@FreeBSD.ORG Thu Nov 10 05:27:19 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C59B4106564A for ; Thu, 10 Nov 2011 05:27:19 +0000 (UTC) (envelope-from mckusick@mckusick.com) Received: from chez.mckusick.com (chez.mckusick.com [70.36.157.235]) by mx1.freebsd.org (Postfix) with ESMTP id A5F608FC15 for ; Thu, 10 Nov 2011 05:27:19 +0000 (UTC) Received: from chez.mckusick.com (localhost [127.0.0.1]) by chez.mckusick.com (8.14.3/8.14.3) with ESMTP id pAA5RGOQ055907; Wed, 9 Nov 2011 21:27:16 -0800 (PST) (envelope-from mckusick@chez.mckusick.com) Message-Id: <201111100527.pAA5RGOQ055907@chez.mckusick.com> To: mdf@freebsd.org In-reply-to: Date: Wed, 09 Nov 2011 21:27:16 -0800 From: Kirk McKusick X-Spam-Status: No, score=0.0 required=5.0 tests=MISSING_MID, UNPARSEABLE_RELAY autolearn=failed version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on chez.mckusick.com Cc: freebsd-fs@freebsd.org Subject: Re: write access to various times X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2011 05:27:19 -0000 I am the one that added birthtime and the text that you quote on how to set it. I deliberately did not add a new system call to add all three (atime, mtime, and birthtime) because programs using the new system call would not compile/run on any system other than FreeBSD. Those that followed the admittedly cumbersome double system call would compile/run on all systems and those with birthtime would get it set correctly. UNIX has never allowed the ctime to be set because backup utilities such as dump depend on it being correct. A file loaded onto the system today needs to be dumped at the next backup even if its atime, mtime, and birthtime all claim that it has been around for years. If ctime could be set, none of the backup systems would be reliable. Kirk McKusick