cpio sco v linux
backup file created on sco unix v 5.07 try to extract in red Linux 6.5
gives an error "cpio: premature end of file" is there a switch for cpio I can use ? when I type " file cpiofilename " it returns ASCII cpio archive (pre-SVR4 or odc) any help ? |
Quote:
Quote:
|
thanks used Hodc on cpio and this worked
|
I see this is resolved but I think it is worth mentioning a potential issue, in case you encounter problems in the future (an associate of mine encountered a similar issue a few years back).
Be aware that SCO made some extensions to CPIO to support very large files (up to 9EB), that it will invoke if individual members are greater than the limits of odc. GNU cpio and BSD cpio do not understand these extensions. However, the The Heirloom Toolchest cpio and pax utilities do. If you have a suitable build environment, you can compile up a copy of Heirloom CPIO as follows: Code:
wget http://downloads.sourceforge.net/project/heirloom/heirloom/070715/heirloom-070715.tar.bz2 You should also read the man page for Heirloom cpio. It contains a lot of information about the various cpio and tar formats (their differences and their capabilities) as well as explaining how this version of cpio works. There is also a local copy in the package (cpio/cpio.1) if you prefer, which you could copy to '/usr/local/man/man1/heirloom-cpio.1'. Note: To explicitly specify the SCO extended format, you can use "-H sco". |
All times are GMT -5. The time now is 02:29 PM. |