Setting creation or change timestamps
Posted
by
Thanatos
on Stack Overflow
See other posts from Stack Overflow
or by Thanatos
Published on 2010-12-27T07:45:31Z
Indexed on
2010/12/27
7:53 UTC
Read the original article
Hit count: 259
Using utimes
, futimes
, futimens
, etc., it is possible to set the access and modification timestamps on a file.
Is there a function to set change timestamps? (I understand the cyclic nature of wanting to change the change timestamp, but think archiving software - it would be nice to restore a file exactly as it was.)
Are there any functions at all for creation timestamps? (I realize that ext2
does not support this, but I was wondering if Linux did, for those filesystems that do support it.)
If it's not possible, what is the reasoning behind it not being so?
© Stack Overflow or respective owner