All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Samuel <chris@csamuel.org>
To: linux-btrfs@vger.kernel.org
Subject: Re: General Question: ctime, mtime, and xattrs
Date: Sat, 06 Dec 2014 12:39:14 +1100	[thread overview]
Message-ID: <1670463.A2AUh24FHt@quad> (raw)
In-Reply-To: <54823FBA.9000707@pobox.com>

On Fri, 5 Dec 2014 03:28:58 PM Robert White wrote:

> I've been thinking "ctime" is/was (still) "create time". It seems that 
> somewhere in the last couple decades it became "change time"; Or that I 
> picked up that incorrect "create time" idea back in the UNIX Sys V R 3 
> days and just never had cause to think about it again...

Sadly there's never been a creation time in Linux that you can get with a 
standard system call, there was an attempt 4-5 years ago to get xstat merged 
that would include creation time from filesystems that support it (like ext4) 
but it never went anywhere (for a variety of reasons).

LWN article on the patch set:

 https://lwn.net/Articles/394298/

Linus knocking it back:

 https://lkml.org/lkml/2010/7/22/249

FreeBSD has:

 st_birthtim  Time when the inode was created.

No idea when that was added!

All the best,
Chris
-- 
 Chris Samuel  :  http://www.csamuel.org/  :  Melbourne, VIC



  reply	other threads:[~2014-12-06  1:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-05 22:08 General Question: ctime, mtime, and xattrs Robert White
     [not found] ` <CAE5mzvgrdYSNWSWLrnmHMz2fSgPSJV_ocYr_ZSBGPwLWBshH-g@mail.gmail.com>
2014-12-05 23:28   ` Robert White
2014-12-06  1:39     ` Chris Samuel [this message]
2014-12-06  2:35     ` Al Viro

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=1670463.A2AUh24FHt@quad \
    --to=chris@csamuel.org \
    --cc=linux-btrfs@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.