delorie.com/archives/browse.cgi | search |
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=MC8OnyBSRtyurC0jARyR | |
kxeCPsiuLQCqI/jB2BaV0BsprHL9pS9OqkhpeiAquGOqyaUe86+y0pM2EVxpN3gU | |
/me88In52fL4DLiML4RFC55dUoPdrjlTeuSmEhlnxMHAJfnXSl9wVuTNJyI/eMuz | |
7VRHYpBJEvhoYg6+5VqdQ7s= | |
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=ZH5CQvUp2XZfUaSXlSgXPASJTu | |
I=; b=wx5aU3oMdM47c+MEBoyoEYO29tKJIRG/Imj9lTt53GJEPGccfHA90dEbSk | |
kODAeSppHJdGchssdE+ogUXDrTPJqob961/h/3kvefGEip9iWd/yipYKlAq2zeqA | |
A8Hor1yGyw1uxXO0KDkVxQSvtUJ5SwViK3DQQHgTtetzkHo3E= | |
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=-2.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=H*f:sk:b3c07e0, 381, xjf, Directories |
X-HELO: | lb3-smtp-cloud6.xs4all.net |
MIME-Version: | 1.0 |
Date: | Sat, 23 Jan 2016 20:55:49 +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: | <20160123192515.GG3268@calimero.vinschen.de> |
References: | <ed7dd3377a4cc1aa59001d627c7237ad AT xs4all DOT nl> <20160123181053 DOT GF3268 AT calimero DOT vinschen DOT de> <b3c07e0f903d91ae52fb6fb202eef1e5 AT xs4all DOT nl> <20160123192515 DOT GG3268 AT calimero DOT vinschen DOT de> |
Message-ID: | <1c1720fce81779d6bb5f2bd29c06bb3f@xs4all.nl> |
X-Sender: | houder AT xs4all DOT nl (/XgTxPMsIKIBL6oEjw6foA==) |
User-Agent: | XS4ALL Webmail |
X-IsSubscribed: | yes |
On 2016-01-23 20:25, Corinna Vinschen wrote: > On Jan 23 20:09, Houder wrote: >> On 2016-01-23 19:10, Corinna Vinschen wrote: >> >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 :-) > > Of course I created local test snapshots using the above change. They > only have one version of each file and are considerably smaller than > the > previous versions. I'm building on Fedora Linux if that matters. @@ mkdir x @@ cd x @@ tar xJf ../cygwin-inst-20160121.tar.xz @@ find etc usr | wc -l 381 # preferred order (options)? tar manual: 6.9 Descending into Directories) @@ find etc usr | tar --no-recursion -T- -cJf ../foo.tar.xz # NOT the preferred order (options)? @@ find etc usr | tar -T- --no-recursion -cJf ../foo2.tar.xz @@ tar tvJf ../foo.tar.xz > foo1 @@ tar tvJf ../foo2.tar.xz > foo2 @@ diff foo1 foo2 @@ wc -l foo* 381 foo1 381 foo2 762 total @@ Did the same test on FC19. Same result. But, let it rest for the moment, I would advice. Next time when you will build a snapshot, you (we) will know. 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |