[linux-cifs-client] File Creation Time

Jeff Layton jlayton at samba.org
Thu Nov 12 08:29:19 MST 2009


On Wed, 11 Nov 2009 17:12:08 -0800
Sam Flory <sam.flory at codegreennetworks.com> wrote:

> Is there a way to get creation time for a file on a windows cifs server?
> If yes is there a command or system call to get it?
> 

Not currently, no. CreationTime in the returned attributes are pretty
much ignored, primarily because we don't have a place to put in in the
POSIX stat struct.

You could maybe consider doing something like faking up an xattr with
that info, but the code for that doesn't exist today.

-- 
Jeff Layton <jlayton at samba.org>


More information about the linux-cifs-client mailing list