From owner-freebsd-current@FreeBSD.ORG Tue Aug 26 19:27:15 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 05D269C1 for ; Tue, 26 Aug 2014 19:27:15 +0000 (UTC) Received: from udns.ultimatedns.net (unknown [IPv6:2602:d1:b4d6:e600:4261:86ff:fef6:aa2a]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C9D483F2D for ; Tue, 26 Aug 2014 19:27:14 +0000 (UTC) Received: from udns.ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.14.5/8.14.5) with ESMTP id s7QJSJfo035343; Tue, 26 Aug 2014 12:28:25 -0700 (PDT) (envelope-from bsd-lists@bsdforge.com) Received: (from www@localhost) by udns.ultimatedns.net (8.14.5/8.14.5/Submit) id s7QJSB5H035337; Tue, 26 Aug 2014 12:28:11 -0700 (PDT) (envelope-from bsd-lists@bsdforge.com) Received: from unavailable01.ultimatedns.net ([209.180.214.227]) (UDNSMS authenticated user chrish) by ultimatedns.net with HTTP; Tue, 26 Aug 2014 12:28:13 -0700 (PDT) Message-ID: In-Reply-To: <53FCD7B8.5060300@wemm.org> References: <53FCD7B8.5060300@wemm.org> Date: Tue, 26 Aug 2014 12:28:13 -0700 (PDT) Subject: Re: did tar(1) loose xz compression support in 11? From: "Chris H" To: "Peter Wemm" User-Agent: UDNSMS/2.0.3 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Aug 2014 19:27:15 -0000 > On 8/26/14 11:05 AM, Chris H wrote: >> Greetings, >> I'm currently testing 11. My build / install is from about 2 days ago. >> I generally use xz compression, when creating archives. But when I >> attempt the following: >> >> tar -cvJ --options xz:9 -f ./archive-name.tar.xz ./file >> >> it returns the following: >> >> tar: Undefined option: `xz:9' >> >> This has always worked in previous versions. Has the syntax changed, >> and the man(1) pages just haven't caught up? > > I use: > tar -cJ --options xz:compression-level=1 > .. on head. Are you using the right syntax? Apparently not. Using your example works as expected. RELENG_8, and RELENG_9 use short-hand; tar -cvJ --options xz:9 Why/when the change to long-hand? Seems a shame. Now I get to modify all my scripts, and such. :P Altho I don't suppose it'd be a big deal to back out (revert) the changes made to tar(1). :) Thank you, very much, Peter. For taking the time to respond. --Chris > > -- > Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI6FJV > >