From owner-freebsd-current@FreeBSD.ORG Tue Aug 3 09:27:57 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8103B16A4CF for ; Tue, 3 Aug 2004 09:27:57 +0000 (GMT) Received: from helios.earthmagic.org (helios.earthmagic.org [69.55.238.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27B8843D54 for ; Tue, 3 Aug 2004 09:27:57 +0000 (GMT) (envelope-from lonewolf-freebsd@earthmagic.org) Received: (qmail 59732 invoked by uid 0); 3 Aug 2004 09:27:56 -0000 Received: from lonewolf-freebsd@earthmagic.org by helios.earthmagic.org by uid 82 with qmail-scanner-1.20rc4 (clamscan: 0.70. Clear:RC:0:. Processed in 0.080488 secs); 03 Aug 2004 09:27:56 -0000 Received: from ppp144-147.lns1.mel2.internode.on.net (HELO earthmagic.org) (lonewolf@150.101.144.147) by helios.earthmagic.org with RC4-MD5 encrypted SMTP; 3 Aug 2004 09:27:56 -0000 Message-ID: <410F5A99.3000505@earthmagic.org> Date: Tue, 03 Aug 2004 19:27:53 +1000 From: Johny Mattsson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tim Kientzle References: <410F28E1.8080105@freebsd.org> In-Reply-To: <410F28E1.8080105@freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org cc: freebsd-ports@freebsd.org Subject: Re: HEADS UP: tar -l is now (intentionally) broken. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.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, 03 Aug 2004 09:27:57 -0000 Tim Kientzle wrote: > Since POSIX and GNU violently disagree about the > meaning of "tar -l", and there seem to be strong > adherents to both interpretations, I'm preparing to > commit a patch that breaks "tar -l" for everyone: > > $ tar -cl foo > Error: -l has different behaviors in different tars. > For the GNU behavior, use --one-file-system instead. > For the POSIX behavior, use --check-links instead. Apologies if this is close to a bike-shed, but how about making the above message a transitional message, and changing it to: $ tar -cl foo Error: -l has different behaviors in different tars. For the GNU behavior, use --one-file-system instead. For the POSIX behavior, use --check-links instead. In future releases, POSIX behavior will be assumed, so please adjust scripts and mentality as needed before then. As someone said, adhering to standards is a Good Thing (tm), and I think it's a worthwile aim. Making this error (and yes, I do agree that it should be an error, not a warning) transitional, we pave the way for becoming standards compliant, while still not destroying file systems nilly-willy. I won't claim to know what a reasonable timeframe would be, but perhaps have this message in 5.3, and then change the behaviour for 5.4 or 5.5? Cheers, /Johny -- Johny Mattsson - Making IT work ,-. ,-. ,-. There is no truth. http://www.earthmagic.org _.' `-' `-' There is only perception.