delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/01/23/14:10:08

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:content-type
:content-transfer-encoding:date:from:to:subject:in-reply-to
:references:message-id; q=dns; s=default; b=g0S4U0llrk60OaMCG8oV
wQEMastyGXuTJJ52JtjwGGTM6eCxiEyslW7s9l/G+QxPP+Tig2WvpOekn7kLXfdq
N/96R2fZ8X7Aktr7ZrK222+v5W25ncFXy7Z+H5HCSRcRks+rXmW/FM+XXcJL7yps
Ypv7lHfkrgTVahYytjW4nVo=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:content-type
:content-transfer-encoding:date:from:to:subject:in-reply-to
:references:message-id; s=default; bh=nnKfafV6kzXL8mXVqffRUsrF/N
8=; b=l5VNmLjM9LQk3BjTD60jTWgppMRym4srRmwsmL9gqQgXHn7beuxgJRF48Q
Q8BNoBheif4AY3vhgk7gyRhZZAEf2VL+T8aMWf+yWcO2MzklHAHgZ0Qn8dkMDTb8
P/cUdJabQ8DrsQQKEo4ebqh6dEgF8wwUmJ3fNxGynC903LOGE=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_20,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=norecursion, funny, no-recursion, filenames
X-HELO: lb3-smtp-cloud6.xs4all.net
MIME-Version: 1.0
Date: Sat, 23 Jan 2016 20:09:48 +0100
From: Houder <houder AT xs4all DOT nl>
To: cygwin AT cygwin DOT com
Subject: Re: snapshots (archive files) are too big ... Why?
In-Reply-To: <20160123181053.GF3268@calimero.vinschen.de>
References: <ed7dd3377a4cc1aa59001d627c7237ad AT xs4all DOT nl> <20160123181053 DOT GF3268 AT calimero DOT vinschen DOT de>
Message-ID: <b3c07e0f903d91ae52fb6fb202eef1e5@xs4all.nl>
X-Sender: houder AT xs4all DOT nl (VnxQXVYKyQLKiKLVJ2WuWA==)
User-Agent: XS4ALL Webmail
X-IsSubscribed: yes

On 2016-01-23 19:10, Corinna Vinschen wrote:
> On Jan 23 13:59, Houder wrote:
>> Hi Corinna,
>> 
>> Just curious if there is a reason ...
>> 
>> I was able to extract cygpath.exe from cygwin-inst-20160121.tar.xz
>> (snapshots)
>> in order to test your last modification to cygpath.cc. No problem 
>> here.
>> 
>> However, when examining the contents of the archive, I was surprised 
>> to find
>> the SAME version of cygpath.exe at least three times ...
>> 
>> The size of cygwin-inst-<date>.tar.xz (and cygwin-src-<date>.tar.xz) 
>> has
>> grown
>> (suddenly) by a factor of 3 or 4 since 2015-07-20 ...
>> 
>> The same applies to winsup-src-<date>.tar.xz (since 2016-01-15) ...
>> 
>> In all cases it is because the archive contains the SAME version of a 
>> file
>> at
>> least three times (as far as I can tell).
>> 
>> To summarize: No, I am not reporting a problem here; I am just 
>> _curious_ as
>> to
>> why these archive are so much bigger than they (apparently) need to be 
>> ...
> 
> I found out why this happens, I just don't know why it only occurs 
> since
> 2015-07-20.
> 
> The reason is the script is using an expression along the lines of
> 
>   find ... | tar -T - --no-recursion -cjf ...
> 
> It turns out that the --no-recursion option only works for me, if it
> comes *prior* to the expression specifying the filenames to archive.
> That is, I had to change the script to use
> 
>   find ... | tar --no-recursion -T - -cjf ...
> 
> instead.  Funny enough, `info tar' still contains an example using
> the original order...

Ah, thank you for the effort you took and for your explanation. (yes,
the reason for the "big" files was simpler than I was guessing at).

However, I cannot confirm your finding at my end (using Cygwin). Still,
I am sure you will take another look at the size of a snapshot when you
create one the next time :-)

Thanks!

Regards,
Henri

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019