regarding '-H' option of cpio in busybox

Maxin John maxinbjohn at rediffmail.com
Wed May 27 08:54:12 UTC 2009


Hi,

During the busybox-1.13.4 test, I have observed that the testsuite/cpio.tests contains a test which uses the '-H' option of cpio:

"find cpio.testdir | cpio -H newc --create | (cd cpio.testdir2 && cpio -i); echo \$?;

However, the '-H' option is not present in the busybox version of cpio.

-bash-3.2# cpio -H
cpio: invalid option -- 'H'
BusyBox v1.13.4 (2009-04-30 13:06:21 JST) multi-call binary

Usage: cpio -[dimtuv][F cpiofile]

Extract or list files from a cpio archive
Main operation mode:
        d       Make leading directories
        i       Extract
        m       Preserve mtime
        t       List
        v       Verbose
        u       Unconditional overwrite
        F       Input from file

Should I enable any other option in .config of busybox for the "cpio extracts zero-sized hardlinks" test ?

Best Regards,
Maxin B. John


 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20090527/23fc93cb/attachment.htm>


More information about the busybox mailing list