>Number: 172293 >Category: misc >Synopsis: bsdtar does not support --ignore-failed-read >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 03 02:00:23 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Devin Teske >Release: FreeBSD 8.1-RELEASE-p6 i386 >Organization: FIS Global, Inc. >Environment: FreeBSD ipm0.lbxrich.vicor.com 8.1-RELEASE-p6 FreeBSD 8.1-RELEASE-p6 #15: Wed Dec 7 11:08:51 PST 2011 [email protected]:/usr/src/sys/i386/compile/FIS i386 >Description: In FreeBSD-8.1 (or higher; possibly other/older releases) tar(1) is bsdtar and it does not support all of the options that GNU tar does. Although this may be "to be expected," it is requested that this flag be implemented to help solve a production issue that was discovered shortly after an upgrade from FreeBSD4 (where GNU tar is still used) to FreeBSD8 (where bsdtar has replaced GNU tar). >How-To-Repeat: On 4.11 $ tar --version tar (GNU tar) 1.13.25 Copyright (C) 2001 Free Software Foundation, Inc. This program comes with NO WARRANTY, to the extent permitted by law. You may redistribute it under the terms of the GNU General Public License; see the file named COPYING for details. Written by John Gilmore and Jay Fenlason. $ tar --ignore-failed-read -cvzpf /tmp/nosuchfile realfile realfile
On 8.1 $ tar --version bsdtar 2.7.0 - libarchive 2.7.0 $ tar --ignore-failed-read -cvzpf /tmp/nosuchfile realfile tar: Option --ignore-failed-read is not supported Usage: List: tar -tf <archive-filename> Extract: tar -xf <archive-filename> Create: tar -cf <archive-filename> [filenames...] Help: tar --help >Fix: >Release-Note: >Audit-Trail: >Unformatted: _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
