This is the mail archive of the
mailing list for the Cygwin project.
Re: snapshots (archive files) are too big ... Why?
- From: Houder <houder at xs4all dot nl>
- To: cygwin at cygwin dot com
- Date: Sat, 23 Jan 2016 20:09:48 +0100
- Subject: Re: snapshots (archive files) are too big ... Why?
- Authentication-results: sourceware.org; auth=none
- References: <ed7dd3377a4cc1aa59001d627c7237ad at xs4all dot nl> <20160123181053 dot GF3268 at calimero dot vinschen dot de>
On 2016-01-23 19:10, Corinna Vinschen wrote:
On Jan 23 13:59, Houder wrote:
Just curious if there is a reason ...
I was able to extract cygpath.exe from cygwin-inst-20160121.tar.xz
in order to test your last modification to cygpath.cc. No problem
However, when examining the contents of the archive, I was surprised
the SAME version of cygpath.exe at least three times ...
The size of cygwin-inst-<date>.tar.xz (and cygwin-src-<date>.tar.xz)
(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
least three times (as far as I can tell).
To summarize: No, I am not reporting a problem here; I am just
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
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 :-)
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple