1837958 Members
3498 Online
110124 Solutions
New Discussion

cpio problem

 
Sazan Kshetri
New Member

cpio problem

The following cpio command works for the abc.cpio on a SUN box but not on HPUX 11.0 . Is it because abc.cpio was generated on a UNIXWARE system?

$ cpio -iumvdcR < /cdrom/abc.cpio

cpio: Out of phase; resyncing.

End of volume

errno: 25, Can't read input
3 REPLIES 3
Michael Tully
Honored Contributor

Re: cpio problem

try this

cpio -icvdumB < /filename
Anyone for a Mutiny ?
Victor_5
Trusted Contributor

Re: cpio problem

Try to use the B option to cpio, which changes the blocking factor, should remove the error condition.
A. Clay Stephenson
Acclaimed Contributor

Re: cpio problem

Hi:

You may have a byte flip problem

try adding the 'b' 's' or 'S' args.

I would first try a listing.

cpio -icvtb < /tmp/abc.cpio
If it ain't broke, I can fix that.