Re: ext4 and creation time

Andreas Dilger
2007-05-27T16:25:55Z

On May 25, 2007 16:11 +0530, Kalpak Shah wrote:
> On Fri, 2007-05-25 at 06:13 -0400, Cal Peake wrote:
> > I found this had already been brought up in the past but couldn't find if
> > a definitive decision was made.
> >
> > Will ext4 include a creation time field?
>
> Yes, the creation time field will be in ext4. It has already been
> included in Ted's e2fsprogs tree and will be included in the kernel when
> the nanosecond patch is sent upstream.

As a caveat, there is not yet any API to access this. One possibility is
to add a virtual extended attribute like user.crtime that returns a
struct timespec or similar.

Cheers, Andreas
--
Andreas Dilger
Principal Software Engineer
Cluster File Systems, Inc.