From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve French Subject: Re: ext4 - getting at birth time (file create time) and getting/setting nanosecond time stamps and utime Date: Tue, 20 Oct 2009 15:49:27 -0500 Message-ID: <524f69650910201349w20a3145cm6b88cd4029912b6b@mail.gmail.com> References: <524f69650910191017j7883ed7bvdb0329d1a73f34e4@mail.gmail.com> <524f69650910191245t2eb7ffb2r770a7373ec2ba1e3@mail.gmail.com> <5715838A-4568-4273-B1C1-983B348580B6@sun.com> <524f69650910191524k5c9d766fu430c4f7b17d86952@mail.gmail.com> <890110E9-FA69-4356-9BEB-925F98487C52@sun.com> <4ADDB09D.5000707@hp.com> <6E5D19DA-64C5-4A44-9DF4-BEF2AA8DD8AB@sun.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Cc: jim owens , linux-fsdevel , samba-technical To: Andreas Dilger Return-path: Received: from mail-pz0-f188.google.com ([209.85.222.188]:56464 "EHLO mail-pz0-f188.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752671AbZJTUtW (ORCPT ); Tue, 20 Oct 2009 16:49:22 -0400 Received: by pzk26 with SMTP id 26so4356401pzk.4 for ; Tue, 20 Oct 2009 13:49:27 -0700 (PDT) In-Reply-To: <6E5D19DA-64C5-4A44-9DF4-BEF2AA8DD8AB@sun.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Tue, Oct 20, 2009 at 3:33 PM, Andreas Dilger wrote: > For those users/admins that want to be able to change this (due to > Samba, or whatever), great, we can give them this ability, but for > users who do NOT want regular users to be able to change the file > creation timestamp, that should be possible as well. So, are we ready for Mingming or one of the ext4 developers to propose a patch for this via xattrs (I can do a similar one for cifs). Sounds like various have said: 1) xattrs instead of ioctl 2) get of create time allowed by default, but set of create time limited But for the second part of this - how should we set nanosecond timestamps for the others (or in Samba's case, rounded to 100 nanoseconds for DCE time) ... a millisecond granularity for utimes is a very long time these days. -- Thanks, Steve