From owner-freebsd-questions@FreeBSD.ORG Fri Mar 25 07:13:45 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 308C016A4D6 for ; Fri, 25 Mar 2005 07:13:45 +0000 (GMT) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 8A75243D92 for ; Fri, 25 Mar 2005 07:13:41 +0000 (GMT) (envelope-from emanuel.strobl@gmx.net) Received: (qmail invoked by alias); 25 Mar 2005 07:13:38 -0000 Received: from flb.schmalzbauer.de (EHLO cale.flintsbach.schmalzbauer.de) [62.245.232.135] by mail.gmx.net (mp012) with SMTP; 25 Mar 2005 08:13:38 +0100 X-Authenticated: #301138 From: Emanuel Strobl To: freebsd-questions@freebsd.org Date: Fri, 25 Mar 2005 08:13:06 +0100 User-Agent: KMail/1.7.2 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="nextPart7088050.vtmYzkemRD"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200503250813.17984@harrymail> X-Y-GMX-Trusted: 0 Subject: quick timestamp question (ctime/mtime) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2005 07:13:45 -0000 --nextPart7088050.vtmYzkemRD Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello, is it possible that mtime of a file can be changed without also changing=20 ctime? Vice versa is easy, chmod or similar will do that. But if I change=20 mtime with touch, also ctime gets changed. I ask because I'm about writing a little backup script and want to be sure = to=20 capture every file on any imaginable modification when comparing only ctime! Thanks, =2DHarry --nextPart7088050.vtmYzkemRD Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCQ7oNBylq0S4AzzwRAs6aAJ9udfxV9U5cV3qbk9ExmgpRHNHB6QCcDgxM d9k907uTse5GIIp8df4RKRI= =GDwp -----END PGP SIGNATURE----- --nextPart7088050.vtmYzkemRD--