From owner-freebsd-current@FreeBSD.ORG Fri Mar 25 20:21:54 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E8D616A4CE for ; Fri, 25 Mar 2005 20:21:54 +0000 (GMT) Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 06CC043D58 for ; Fri, 25 Mar 2005 20:21:53 +0000 (GMT) (envelope-from emanuel.strobl@gmx.net) Received: (qmail invoked by alias); 25 Mar 2005 20:21:51 -0000 Received: from flb.schmalzbauer.de (EHLO cale.flintsbach.schmalzbauer.de) [62.245.232.135] by mail.gmx.net (mp006) with SMTP; 25 Mar 2005 21:21:51 +0100 X-Authenticated: #301138 From: Emanuel Strobl To: Peter Jeremy Date: Fri, 25 Mar 2005 21:21:13 +0100 User-Agent: KMail/1.7.2 References: <200503251928.03969@harrymail> <20050325200634.GE43123@cirb503493.alcatel.com.au> In-Reply-To: <20050325200634.GE43123@cirb503493.alcatel.com.au> X-Birthday: 10/06/72 X-CelPhone: +49 173 9967781 X-Tel: +49 89 18947781 X-Country: Germany X-Address: Munich, 80686 X-OS: FreeBSD MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1206274.dV7n0x6Qfg"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200503252121.29069@harrymail> X-Y-GMX-Trusted: 0 cc: freebsd-current@freebsd.org Subject: Re: installworld with specified ctime possible? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2005 20:21:54 -0000 --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--