Problem
Consider the following example:# ls -lai xio.h
182002 -r--r--r-- 1 12 300 1222 Mar 1 2004 xio.h# ls xio.h |cpio -o -O test.cpio
UX:cpio: ERROR: Old format cannot support expanded types on xio.h:
Value too large for defined data type
0 blocks
1 errorThe above cpio command will fail similarly when attempting to archive any file with an inode number greater that 65535.
Solution
This is a difference in the default behavior for cpio and has been reported to SCO Engineering.
This problem may be worked around by either of the following:
- Use the traditional OpenServer 5 cpio command. e.g.,
# ls xio.h |/osr5/usr/bin/cpio -o -O test.cpio
3 blocksOR- Manually specify an appropriate output format in the
cpio command. e.g.,# ls xio.h |cpio -oc -O test.cpio
16 blocks See also
cpio(C)