Re: File Creation Time

Sam Flory <[email protected]>
Newsgroups gmane.linux.file-systems.cifs
Message-ID <[email protected]>
On Thu, 2009-11-12 at 10:29 -0500, Jeff Layton wrote:
> On Wed, 11 Nov 2009 17:12:08 -0800
> Sam Flory <[email protected]> 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.
> 

Thanks Jeff that's very useful info.  I'll look into that, but I'm not
sure it's worth supporting yet another hack of a patch in our kernel.

Ps- Thanks everyone. We've really been pleased with the stability, and
compatibility of the cifs driver.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.