Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Oct 2012 01:57:32 GMT
From:      Devin Teske <dteske@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/172293: bsdtar does not support --ignore-failed-read
Message-ID:  <201210030157.q931vWJ5055167@red.freebsd.org>
Resent-Message-ID: <201210030200.q9320NvY078541@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help


>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     dteske@ipm0.vbsd.vicor.com:/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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210030157.q931vWJ5055167>