public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
From: Theodore Tso <tytso@mit.edu>
To: "Bj�rn JACKE" <bjacke@sernet.de>,
	ext3-users@redhat.com, linux-ext4@vger.kernel.org
Subject: Re: creation time stamps for ext4 ?
Date: Thu, 5 Oct 2006 12:55:04 -0400	[thread overview]
Message-ID: <20061005165504.GA23727@thunk.org> (raw)
In-Reply-To: <20061005151937.GV22010@schatzie.adilger.int>

On Thu, Oct 05, 2006 at 09:19:37AM -0600, Andreas Dilger wrote:
> On Oct 05, 2006  15:57 +0200, Bj�rn JACKE wrote:
> > I would like to know if there are any plans to introduce a creation 
> > timestamp in future ext3/4 versions. Having a 4th timestamp saving the 
> > creation time would be very good for projekts like Samba for example. 
> > It would be important that creation time can also be set manually 
> > later on by some system call. Systems like FreeBSD's UFS and Solais' 
> > ZFS already support creation times. Unfortunately Linux doesn't have 
> > such a thing standarized anywhere but it would be geat if it would.
> > 
> > Are there any plans to add this?
> 
> I've given this some thought for adding as part of the nsec timestamp
> patch.  That is more feasable if we move the nsec ctime into the main
> inode to double as the version field.

Shoehorning an extra creation time field into the inode is relatively
easy, but it's also necessary to have system calls to get and set the
creation time.  The stat structure doesn't have room for the creation
time, so that means a new version of the stat structure exported the
kernel, and a new version of the stat structure exported by glibc.

So there are VFS and glibc changes necessary to make this be useful.
But that doesn't prevent us from reserving space in the inode and
starting to fill it in with the creation time, although it may be
quite a while before it will be easily available to user programs like
Samba.

						- Ted
-
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2006-10-05 16:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1GVUd2-0006O6-00@intern.SerNet.DE>
2006-10-05 15:19 ` creation time stamps for ext4 ? Andreas Dilger
2006-10-05 16:55   ` Theodore Tso [this message]
2006-10-05 19:23     ` Björn JACKE
2006-10-05 20:07     ` Andreas Dilger

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=20061005165504.GA23727@thunk.org \
    --to=tytso@mit.edu \
    --cc=bjacke@sernet.de \
    --cc=ext3-users@redhat.com \
    --cc=linux-ext4@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox