installworld with specified ctime possible?

Emanuel Strobl emanuel.strobl at gmx.net
Fri Mar 25 12:21:54 PST 2005


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20050325/b9b87e3b/attachment.bin


More information about the freebsd-current mailing list