WIESEL%DKAUNI0P.BITNET@cunyvm.cuny.edu (Joachim Wiesel) (07/06/89)
Hi, does anyone know, how to recover from a: cpio: ERROR: out of sync bad header/magic number restore aborted. This happens on an AT386 machine running Interactive's 386/ix 2.0.1 Unix on the third of 18 Floppies. Someone an idea how I can read at least the rest of this ? Any help welcome. Joachim ----------------------------------------------------------------------- Joachim Wiesel, Department of Photogrammetry and Remote Sensing (IPF) Karlsruhe University, P.O.Box 6980, Englerstr. 7 D-7500 Karlsruhe, West-Germany, Tel.: +49 721 608 2316 -----------------------------------------------------------------------
lenny@icus.islp.ny.us (Lenny Tropiano) (07/11/89)
In article <20173@adm.BRL.MIL> WIESEL%DKAUNI0P.BITNET@cunyvm.cuny.edu (Joachim Wiesel) writes: |>Hi, |> |>does anyone know, how to recover from a: |> |>cpio: ERROR: out of sync bad header/magic number |> restore aborted. |> |>This happens on an AT386 machine running Interactive's 386/ix 2.0.1 Unix |>on the third of 18 Floppies. |>Someone an idea how I can read at least the rest of this ? |>Any help welcome. |>Joachim ... If your cpio is based on SVR3.1 and above, you should have the -k option. -k will skip over corrupt header information and search for the new header to sync up with. See your manual pages for more information on it's usage. Or if this isn't available get yourself a copy of the afio(1) program that was posted to comp.sources.unix a while back... # cpio -icduvmk -I /dev/dsk/f0 -Lenny -- Lenny Tropiano ICUS Software Systems [w] +1 (516) 589-7930 lenny@icus.islp.ny.us Telex; 154232428 ICUS [h] +1 (516) 968-8576 {ames,talcott,decuac,hombre,pacbell,sbcs}!icus!lenny attmail!icus!lenny ICUS Software Systems -- PO Box 1; Islip Terrace, NY 11752