From owner-freebsd-current@FreeBSD.ORG Tue Aug 3 09:29:22 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 1933F16A4CE for ; Tue, 3 Aug 2004 09:29:22 +0000 (GMT) Received: from mirrorball.thelosingend.net (m069c.studby.ntnu.no [129.241.130.69]) by mx1.FreeBSD.org (Postfix) with SMTP id 05F3043D72 for ; Tue, 3 Aug 2004 09:29:21 +0000 (GMT) (envelope-from svein-freebsd-current@theloosingend.net) Received: (qmail 19483 invoked by uid 1001); 3 Aug 2004 09:29:19 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 3 Aug 2004 09:29:19 -0000 Date: Tue, 3 Aug 2004 11:29:19 +0200 (CEST) From: Svein Halvor Halvorsen X-X-Sender: sveinhal@mirrorball.thelosingend.net To: Roman Neuhauser In-Reply-To: <20040803072859.GA944@isis.wad.cz> Message-ID: <20040803112139.L17134@mirrorball.thelosingend.net> References: <410F28E1.8080105@freebsd.org> <20040803072859.GA944@isis.wad.cz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Tim Kientzle cc: freebsd-ports@freebsd.org cc: freebsd-current@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:29:22 -0000 [Roman Neuhauser, 2004-08-03] > > $ 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 short, everyone wins on -o, everyone loses > > on -l. That seems fair. ;-) > > I believe "loses" is the keyword here. I don't see how this > would benefit anyone in the long term, sticking with either > side would be better (but please choose POSIX :). Theoretically, I'm with you, but if I'm going to be pragmatic, I have to say that if any one of the -l behaviours are to be the default, it should be the GNU one, despite it beeing non-POSIX. GNU tar has been in the base system forever now, and it's become the expected version. We should strive to be POSIX-compliant, but also try to be true to the history of things. Also, since it's possible to get undesired effect from using the wrong option, I say stick to the historical-compliant implementation, -or- give an error. Don't break compability just for the sake of beeing POSIX- compliant. It's BSD, not POSIX (og GNU for that matter -- or even SysV) Svein Halvor (A FreeBSD dilletant that's interferring with 'the big guys')