读书人

解压cpio资料

发布时间: 2013-03-21 10:08:17 作者: rapoo

解压cpio文件

oracle用的是这种归档,只好记录一下了。

#gunzip 文件名.cpio.gz

#cpio -idmv < 文件名.cpio

# cpio -idvm < aix_oracle817_32_Disk1.cpio

cpio: 0511-903 Out of phase!

cpio attempting to continue...


cpio: 0511-904 skipping 124796 bytes to get back in phase!

One or more files lost and the previous file is possibly corrupt!

cpio: 0511-027 The file name length does not match the expected value.

# man cpio

c Reads and writes header information in ASCII character form. If a cpio archive

was created using the c flag, it must be extracted with c flag.

加上参数c就OK了。

cpio -idvmc < aix_oracle817_32_Disk1.cpio

========================================================

Oracle 专家QQ群:60632593(已满)、60618621、23145225

博客:blog.csdn.net/newhappy2008

========================================================

读书人网 >系统运维

热点推荐