Is it a correct interpretation of the docs to expect that CRC errors in an archive should set the CPIO exit error code to non-zero?
I'm storing CPIO archives on raw partitions, to be expanded onto ramdisks at bootup, in an environment where the raw flash may become corrupted by radiation...so several copies exist and the CRC is validation upon extraction. Consider the following in CPIO 2.12. I use distros so that I don't have to track individual bug fixes...will update when my distro goes to a newer version. I don't know if 2.13 addresses this issue. ------------------------------ $ cpio -iH crc < /dev/loop0p6 cpio: config/README.txt: checksum error (0x7079, should be 0x7159) 36734 blocks $ echo $? 0
