Subject: bin/26513: cpio(1)'s option handling is broken
To: None <>
From: Matthias Scheler <>
List: netbsd-bugs
Date: 08/02/2004 15:21:08
>Number:         26513
>Category:       bin
>Synopsis:       cpio(1)'s option handling is broken
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 02 13:22:00 UTC 2004
>Release:        NetBSD 2.0_BETA
Matthias Scheler                        
System: NetBSD 2.0_BETA NetBSD 2.0_BETA (COLWYN) #0: Mon Jul 26 12:22:36 CEST 2004 i386
Architecture: i386
Machine: i386
If one uses NetBSD's "cpio" with "cpio -i -t" to list the contents of a
cpio archive it will extract the archive instead. This is inconsistent
with what Solaris' and GNU's "cpio" do. Using "cpio -t" avoids the problem
under NetBSD but doesn't work under Solaris. This is a functional
regression compared to NetBSD 1.6 which should be fixed.

Use "cpio -i -t".

None provided.