Re: installworld with specified ctime possible?

From: Emanuel Strobl <emanuel.strobl_at_gmx.net>
Date: Fri, 25 Mar 2005 21:21:13 +0100
Am Freitag, 25. März 2005 21:06 schrieb Peter Jeremy:
> On Fri, 2005-Mar-25 19:27:51 +0100, Emanuel Strobl wrote:
> >Does anybody know a trick how I can have the files, installed by
> > installworld, have a specified ctime?
>
> Quick answer: you can't.
>
> ctime is the inode change time and is always updated by the UFS code to
> reflect the system time at which an inode change occurred.  The only way
> to control it is by setting the system clock - and that will have all
> sorts of other undesirable side-effects.

Of course, especially in jails the kernel time is no option.
Controling mtime was sufficient of course, I just mentioned ctime since I 
evaluate this one in my script.

But I fear also ctime can't be modified without rewriting the install 
routines.

Thanks,

-Harry

Received on Fri Mar 25 2005 - 19:21:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:30 UTC