Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 May 2010 17:53:38 +0000
From:      Knowledge Seeker <knoseeker@googlemail.com>
To:        freebsd-hackers@freebsd.org
Subject:   utimes(2): changing the birth time
Message-ID:  <AANLkTimzR-yTu6S5C49bojmGvGrQ1wQRvcjhKcrlJTg-@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,
Is there a way to set birth time to a value greater(newer) than the actual
birth time (not in the future, but not the current time)?
The man page utimes(2) says that is only possible to change to an older
value.

I saw a way to do this by opening a new file, coping the data, setting the
other attributes, then calling utimes 2 times to set the birth and the
modification time.

Is there a way to change it without creating a new file?

Thanks in advance.


-- 
Knoseeker



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimzR-yTu6S5C49bojmGvGrQ1wQRvcjhKcrlJTg->