File creation time and date

Herta Van den Eynde herta.vandeneynde at gmail.com
Thu Aug 20 19:43:24 UTC 2009


If you make regular backups and keep them for long enough, you could start
by looking at the change date, then check whether the file is on the backup
of the previous day(s).  Again not foolproof, because the file could have
been moved from another directory.

Kind regards,

Herta

2009/8/4 Matthew Galgoci <mgalgoci at redhat.com>

> > Tough luck, the ctime you are refering to in stat refers to the
> > attribute change time not creation time.  the basic i-node structure
> > in any unix/linux variant doesn't have a field for  creation time.
> > Since the file system abstraction layer VFS is fundamental to uniform
> > access to any file system, inode structure remains same from file
> > system to file system.  Of course, you can engineer a file system
> > differently but for proper VFS functionality you still need to mess
> > with libc and etc....
> >
> > Moral, there is no way to find this information
> >
>
> No but you can have a very good educated guess.
>
> --
> Matthew Galgoci
> Network Operations
> Red Hat, Inc
> 919.754.3700 x44155
>
> --
> redhat-sysadmin-list mailing list
> redhat-sysadmin-list at redhat.com
> https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list
>



-- 
"Life on Earth may be expensive,
but it comes with a free ride around the Sun."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/redhat-sysadmin-list/attachments/20090820/4ea5e3cb/attachment.htm>


More information about the redhat-sysadmin-list mailing list