bug-cpio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-cpio] How to recover a corrupt cpio archive


From: Sergey Poznyakoff
Subject: Re: [Bug-cpio] How to recover a corrupt cpio archive
Date: Wed, 04 Jun 2008 11:14:02 +0300

Hi, Christopher

> It seems that an archive written in copy out mode with cpio (GNU
> cpio) 2.6 is corrupt, The command used was simply:
> 
>   $ find . -depth -print | cpio -ov >backup.cpio
>   [...]
>   home/sharedsys/newfiles/test.ps
>   home/sharedsys/newfiles
>   home/sharedsys
>   home/
>   824190054 blocks

Did cpio -t (on the same machine) show the contents of this archive
without errors? 

> ...just as suggested by O'Reilly:
> 
>   http://www.onlamp.com/pub/a/bsd/2002/07/11/FreeBSD_Basics.html
> 
> When restoring in copy out mode with the identical cpio(1) binary
> as used for the backup:

That is to say, you were using another cpio binary for restoring, right?
If so, what version of cpio was it?

Regards,
Sergey




reply via email to

[Prev in Thread] Current Thread [Next in Thread]