Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756130Ab0GaOoV (ORCPT ); Sat, 31 Jul 2010 10:44:21 -0400 Received: from moutng.kundenserver.de ([212.227.126.186]:49380 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756052Ab0GaOoT (ORCPT ); Sat, 31 Jul 2010 10:44:19 -0400 Subject: Re: [PATCH 02/18] xstat: Add a pair of system calls to make extended file stats available [ver #6] From: utz lehmann To: Jan Engelhardt Cc: Linus Torvalds , Jeremy Allison , Volker.Lendecke@sernet.de, David Howells , linux-cifs@vger.kernel.org, linux-nfs@vger.kernel.org, samba-technical@lists.samba.org, linux-kernel@vger.kernel.org, viro@zeniv.linux.org.uk, linux-fsde@jasper.es In-Reply-To: References: <20100715021709.5544.64506.stgit@warthog.procyon.org.uk> <20100715021712.5544.44845.stgit@warthog.procyon.org.uk> <30448.1279800887@redhat.com> <1280524978.2452.9.camel@segv.aura.of.mankind> Content-Type: text/plain; charset="UTF-8" Date: Sat, 31 Jul 2010 16:43:53 +0200 Message-ID: <1280587433.3284.10.camel@segv.aura.of.mankind> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 (2.30.2-4.fc13) Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:+29WgwjU907UmLb4pnM6kAtg/gTz5F2oMEdjGqL3kFp qPe98UFQz8MFuhzZkiMwh0qsXotDaWLvt3C93b00WEghLW3bhz 39mSoE5LWG0qHUD7iCuUq8u6CN4nS2yR5pt8PaBMLXZkse8XVw e03z6wx4ypwrluiFr5VvlB8fbw1h9UQ23xub9JOO0RZK5X+LgY vCmxqYU6HH5SVshe6n8dg== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1087 Lines: 33 On Sat, 2010-07-31 at 10:08 +0200, Jan Engelhardt wrote: > >When abusing an existing time stamp use atime not ctime please. > >ctime has it's uses. atime was just a mistake and is nearly useless. > > MUAs make use of atime. I know mutt uses atime to detect new messages. But there are better and more reliable ways to do this. > > >And with noatime we already have creation time semantics for atime. > > noatime was a late afterthought, and because it can interfere with > some programs, relatime came along too. There are people who prefer noatime over relatime. Using an existing time stamp for creation time is a bad idea IMHO. But when doing this use the least important one. Which is atime. For example ctime is used by backup programs. Anyway when we want to support creation time it should be an additional time stamp. utz -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/