X-Recipient: archive-cygwin@delorie.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:message-id:date:from:mime-version:to:subject
	:content-type:content-transfer-encoding; q=dns; s=default; b=ouK
	mS/aF5OFd+Cb+HYd9khW5INdWxLMYy6X9J0WlmuIqjC9uesr6aT/+mF+B+ABhaJl
	XW26S98iW0h7arcJOQHtmLKVuqzwLmwNVKIc2x6QpmAIaz865nX+NFqhv+7vxA5R
	/05Es1KTsBpKo7QAHp3G+DwT4kTUtvbI8eYHQjPk=
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:message-id:date:from:mime-version:to:subject
	:content-type:content-transfer-encoding; s=default; bh=EZgkLvfHC
	qN7fY6NkqNUHk6kkE0=; b=fWetHhJmEvY4Y8G/aGDL0sCErXZVb7y30JfY3QNCT
	L+x5Gm/iJZllcWf4aPs0Cby+6AFuslpJJbrOKUdTb6Y5KVT6S/dE5RVC825Kj52k
	yAD4NcVmPMBWVUbZ0BfnXVmxs6r+rrccNRRz8Yzo6Ed4UUOZC1j5ivoI/LfXBHUu
	Cw=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Spam-SWARE-Status: No, score=-3.9 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2
Message-ID: <52178DCF.1000001@etr-usa.com>
Date: Fri, 23 Aug 2013 10:29:03 -0600
From: Warren Young <warren@etr-usa.com>
User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8
MIME-Version: 1.0
To: Cygwin-L <cygwin@cygwin.com>
Subject: .tar.xz for snapshots?
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Corinna, would you please consider moving to .tar.xz for snapshots?

Two reasons:

- tar preserves the executable bit.  I suspect this hasn't been a 
problem in the past since unpacking with, say, the 7-Zip GUI *does* set 
the executable bit, because of the archive flag hack.  But now that I 
have two Cygwins, I don't need the GUI.  I can wget and bzip2 -d a 
snapshot in one Cygwin and mv it into the other Cygwin's bin, so the 
difference between .bz2 and .tar.bz2 now matters.

- xz because it gives better compression than bzip2 -9 without any extra 
flags: 1.0 MiB down to 828 kiB.  By adding xz's x86 executable BCJ 
filter -- which has no equivalent in bzip2 -- it gets even smaller:

     $ tar cf - bin/cygwin1.dll | xz --x86 --lzma2 > $snapshot
     $ du -h $snapshot
     780K    $snapshot

The tar wrapper doesn't cost anything.  It makes no real difference to 
file size, and GNU tar first learned xz magic in 2009, so you can just 
'tar xf' it and expect it to do the right thing.

It doesn't hurt the 7-Zip die-hards, either.  7-Zip and xz are part of 
the same project, so of course the 7ZFM GUI can unpack a .tar.xz.

--
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

