cpio pass-through mode with absolute paths

Ed F. third07 at gmail.com
Mon Jan 4 17:00:43 UTC 2010


Is this the intended behavior?

# GNU cpio
echo /etc/hosts | cpio -pvd /tmp
/tmp/etc/hosts
1 block

# netbsd 4.0.1
$ echo /etc/hosts | cpio -pvd /tmp
/tmp/etc/hosts

# Busybox
echo /etc/hosts | /usr/local/src/busybox-1.15.3/busybox cpio -pvd /tmp
cpio: /etc/hosts not created: newer or same age file exists
/etc/hosts
2 blocks

Ed


More information about the busybox mailing list