I made a CPIO archive with following command on Solaris 11 (SPARC):
find . | cpio -ov >/tmp/myarchive.cpio
I copied it to Intel based Solaris 11 machine and tried to extract using the following command
cpio -icvdu < myarchive.cpio
It gives me following error:
cpio: Not a cpio file, bad header.
1 errors
The MD5SUM hash matches and I can extract it on another SPARC machine.
My question, does CPIO produce platform dependant output? Is there any way to convert it?
I cannot use TAR at this moment, because the directory I am archiving has long symbolic links that are skipped by TAR command