From: Volker Lendecke Subject: Re: [PATCH 02/18] xstat: Add a pair of system calls to make extended file stats available [ver #6] Date: Thu, 22 Jul 2010 17:36:59 +0200 Message-ID: References: <20100715021709.5544.64506.stgit@warthog.procyon.org.uk> <20100715021712.5544.44845.stgit@warthog.procyon.org.uk> <30448.1279800887@redhat.com> Reply-To: Volker.Lendecke-PS7XAnAlDA+VvDNblw4Uiw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: David Howells , Jan Engelhardt , linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-nfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, samba-technical-w/Ol4Ecudpl8XjKLYN78aQ@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, viro-RmSDqhL/yNMiFSDQTTA3OLVCufUGDwFn@public.gmane.org, linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-ext4-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Linus Torvalds Return-path: Date: Thu, 22 Jul 2010 17:36:59 +0200 Content-Disposition: inline In-Reply-To: Sender: linux-cifs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-ext4.vger.kernel.org On Thu, Jul 22, 2010 at 08:14:42AM -0700, Linus Torvalds wrote: > > # recent FreeBSD, NetBSD have creation timestamps called birthtime: > > AC_CHECK_MEMBERS([struct stat.st_birthtimespec.tv_nsec]) > > AC_CHECK_MEMBERS([struct stat.st_birthtime], AC_CHECK_MEMBERS([struct stat.st_birthtimensec])) > > > > and the supporting code around that. "birth" might also be > > where the "b" comes from :-) > > Oh wow. And all of this just convinces me that we should _not_ do any > of this, since clearly it's all totally useless and people can't even > agree on a name. > > Let's wait five years and see if there is actually any consensus on it > being needed and used at all, rather than rush into something just > because "we can". The nice thing about this is also that if this is supposed to be fully usable for Windows clients, the birthtime needs to be changeable. That's what NTFS semantics gives you, thus Windows clients tend to require it. Just as a hint, nothing that Linux should necessarily have to be bothered with, this is Samba's duty :-) Volker