delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/08/23/12:29:25

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: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 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
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 AT etr-usa DOT 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 AT cygwin DOT com>
Subject: .tar.xz for snapshots?

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

- Raw text -


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