From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 33076 invoked by alias); 23 May 2016 14:29:20 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 33062 invoked by uid 89); 23 May 2016 14:29:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=blake, Blake, H*i:YPUMDh56, H*f:YPUMDh56 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 23 May 2016 14:29:09 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1696980E7F for ; Mon, 23 May 2016 14:29:08 +0000 (UTC) Received: from [10.3.116.141] (ovpn-116-141.phx2.redhat.com [10.3.116.141]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u4NET7oB003943 for ; Mon, 23 May 2016 10:29:07 -0400 Subject: =?UTF-8?Q?Re:_tar_incremental_backups_and_ctime=e2=80=8f_problem?= To: cygwin@cygwin.com References: <9fdf98cf-e3d1-e453-1c98-2c206afe81c9@gmail.com> <09f604cd-61df-e0c7-b313-1dcf1ef59b4e@gmail.com> From: Eric Blake Openpgp: url=http://people.redhat.com/eblake/eblake.gpg Message-ID: <574313B3.3090703@redhat.com> Date: Mon, 23 May 2016 14:29:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="0QVbi20PuX8rIniPA4n1ofaTtb6TtuDtr" X-IsSubscribed: yes X-SW-Source: 2016-05/txt/msg00266.txt.bz2 --0QVbi20PuX8rIniPA4n1ofaTtb6TtuDtr Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-length: 1043 On 05/23/2016 03:18 AM, x y wrote: > It is not clear to me your expectation: > - are you asking how to use ctime to select the file with tar alone ? > It is not possible for my understanding of the manual. >=20 > - Are you asking the package maintainer to change the behaviour of > cygwin tar ? Unlikely to happen, but I leave to him. >=20 > Regards > Marco >=20 >=20 > Hi Marco, >=20 > Sorry, I am new to the mailing list. If I am not wrong, tar is > checking both of the ctime and mtime values to compare files during > incremental backups. Since opening and closing a MS document without > changing the content updates ctime, it would be preferable to add a > new option to tar to use only mtime for file comparing during > incremental backups. mtime is fakeable, ctime is not. Using only mtime makes it likely that your incremental backup will miss files. I don't have any good reason to differ from upstream behavior here. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --0QVbi20PuX8rIniPA4n1ofaTtb6TtuDtr Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" Content-length: 604 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJXQxOzAAoJEKeha0olJ0NqDuoH/3WPa+4guhreWxJN+fXj0lZA ApNQhCiWkyt415dIF02mLZNi8Q/ucZh/K9EsRQeG0x6oV+DN8bYoX8XK3r6sQDzY SKE2nMM9EGUNeiqp0AtXii3keeAbtlM/WxSqF/nNXEtbOGjBcWEu4FVXuGOuwvEz lDSHZNpJondG4txw6vpRxJrLYfLZY9kPRt4iPaVt1sDXdteT1P6PkDBsCqZHi6Jp H1uD1yMFCZRh3BTp5Ulod9rKYdQueT97oCOJrxSqHq2zd8R2W6LlCYhnMfExT51y XeYKDMXYelDfpqmiblASBLluLGy5By2CJpmOlpY4qRf7dNU20mhck+fOaZeSCWw= =Fnku -----END PGP SIGNATURE----- --0QVbi20PuX8rIniPA4n1ofaTtb6TtuDtr--