Path: utzoo!attcan!uunet!bu.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!hpfcso!hpldola!hp-lsd!jimr From: jimr@hp-lsd.COS.HP.COM (Jim Rogers) Newsgroups: comp.unix.questions Subject: Re: Problems with extracting files using cpio Message-ID: <7370015@hp-lsd.COS.HP.COM> Date: 13 Sep 90 16:40:55 GMT References: <1990Sep11.144908.605@mips2.cr.bull.com> Organization: HP Logic Systems Division - ColoSpgs, CO Lines: 17 You should check to see if your version of cpio has the "R" option. On our system this option automatically resynchronizes cpio when it goes "Out of phase". To quote from our manual (HP-UX): "The diagnostic message 'Out of phase' indicates that cpio could not successfully read its particular 'magic number' in the header. Without the R option specified, cpio will fail and return exit code 2. With the R option, cpio will try resyncing automatically. (Resyncing means that cpio tries to find the next good header in the archive and continues processing from there.) If cpio tries to resynchronize from being 'Out of phase', it will return exit code 1. If resynchronization fails, try changing header mode (c option) or byte swapping the header (P or s options)." Jim Rogers Hewlett Packard Company