linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: jim owens <jowens@hp.com>
To: Andreas Dilger <adilger@sun.com>
Cc: Steve French <smfrench@gmail.com>,
	linux-fsdevel <linux-fsdevel@vger.kernel.org>,
	samba-technical <samba-technical@lists.samba.org>
Subject: Re: ext4 - getting at birth time (file create time) and getting/setting nanosecond time stamps and utime
Date: Tue, 20 Oct 2009 17:10:08 -0400	[thread overview]
Message-ID: <4ADE2730.4070509@hp.com> (raw)
In-Reply-To: <6E5D19DA-64C5-4A44-9DF4-BEF2AA8DD8AB@sun.com>

Andreas Dilger wrote:
> On 20-Oct-09, at 06:44, jim owens wrote:
>> Restricting the modification of create time is pointless.
> 
> You contradict yourself later.  What we have NOW is creation timestamps
> inside on-disk metadata structures the filesystem does not expose.
> Going a step further - to expose this in a read-only manner does not
> remove the usefulness of this field, but making it read-write does.

The apparent contradiction is that I forgot to explicitly say
there are two kinds of create time stamps in filesystems:
   - "user create time"
   - "internal filesystem create time"

My assumption was we were *adding* a "user create time" which
must be settable by things like star that archive and restore.

Otherwise we have "modification time" before "user create time"
when a user restores their files.

An "internal filesystem create time" that is not exposed or
is read-only is different.  And AFAIK most linux filesystems
do not have either create time today so unless we want to say
Samba only uses ext4, we need to think broader in scope.

> Since no Unix tools or applications depend on the presence of this
> field, I would say that the default be to NOT allow this timestamp
> to be changed.

If nobody uses the field, what is the need to protect it?
Seems you are now contradicting yourself.

jim

  parent reply	other threads:[~2009-10-20 21:10 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-19 17:17 ext4 - getting at birth time (file create time) and getting/setting nanosecond time stamps and utime Steve French
2009-10-19 18:55 ` Andreas Dilger
2009-10-19 18:58   ` Jeremy Allison
2009-10-19 19:37     ` Steve French
2009-10-19 19:12   ` Zach Brown
2009-10-19 20:49     ` Jamie Lokier
2009-10-19 19:45   ` Steve French
2009-10-19 20:11     ` Andreas Dilger
2009-10-19 22:24       ` Steve French
2009-10-19 23:12         ` Andreas Dilger
2009-10-20  3:31           ` Steve French
2009-10-20 12:44           ` jim owens
2009-10-20 20:33             ` Andreas Dilger
2009-10-20 20:49               ` Steve French
2009-10-20 20:59                 ` Sunil Mushran
2009-10-20 21:11                   ` Steve French
2009-10-20 21:23                     ` Sunil Mushran
2009-10-20 21:37                       ` Steve French
2009-10-20 21:49                         ` Sunil Mushran
2009-10-20 21:56                           ` Steve French
2009-10-20 22:16                             ` Sunil Mushran
2009-10-21 23:45                               ` Mingming
2009-10-21 11:59                     ` Henrik Nordstrom
2009-10-21 15:36                       ` Steve French
2009-10-21 18:56                         ` Brad Boyer
2009-10-21 23:03                         ` Björn Jacke
2009-10-22 21:50                           ` Steve French
2009-10-21  0:44                 ` Andreas Dilger
2009-10-21 23:42                   ` Mingming
2009-10-20 21:10               ` jim owens [this message]
2009-10-20  0:41   ` Mingming

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4ADE2730.4070509@hp.com \
    --to=jowens@hp.com \
    --cc=adilger@sun.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=samba-technical@lists.samba.org \
    --cc=smfrench@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).