Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Mar 2005 21:21:13 +0100
From:      Emanuel Strobl <emanuel.strobl@gmx.net>
To:        Peter Jeremy <PeterJeremy@optushome.com.au>
Cc:        freebsd-current@freebsd.org
Subject:   Re: installworld with specified ctime possible?
Message-ID:  <200503252121.29069@harrymail>
In-Reply-To: <20050325200634.GE43123@cirb503493.alcatel.com.au>
References:  <200503251928.03969@harrymail> <20050325200634.GE43123@cirb503493.alcatel.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1206274.dV7n0x6Qfg
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Am Freitag, 25. M=E4rz 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=20
evaluate this one in my script.

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

Thanks,

=2DHarry

--nextPart1206274.dV7n0x6Qfg
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQBCRHLJBylq0S4AzzwRAiTxAJ4wXUXl9EhI/IhL5D3waE0BYGakgACeIvdS
HPxcCf1rsHZs8qw+IM0xQSw=
=LD2f
-----END PGP SIGNATURE-----

--nextPart1206274.dV7n0x6Qfg--



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