Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Wed, 18 May 2005 19:34:02 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: CPIO with solaris 9 flash archives
Message-ID: <20050518173402.GB11455@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <8DF313F23701E14797635CF8AC0318A61CD8A0@UKMSG04.gbr.ad.sag>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <8DF313F23701E14797635CF8AC0318A61CD8A0@UKMSG04.gbr.ad.sag>
User-Agent: Mutt/1.4.2i

On May 18 16:23, Clemson, Chris wrote:
> Hi everyone!
> 
> I'm trying to get cygwin cpio to view/extract a flash archive made on solaris 9.
> 
> According to the docs, a flash archive is just a cpio archive.
> Reading the during the solaris install works fine, but I am having trouble getting cygwin cpio to view it:
> 
> E:\>cpio -ivF v240-disbox-v1-08-archive /etc/release
> cpio: warning: skipped 90486 bytes of junk
> cpio: warning: archive header has reverse byte-order
> cpio: warning: skipped 188023 bytes of junk
> cpio: warning: skipped 1360 bytes of junk
> cpio: warning: skipped 146962 bytes of junk
> cpio: premature end of file
> 
> E:\>
> 
> both the file and the drive I am reading it with work fine.
> I can't say I've used cpio much, but the man pages say that it should recognise the format automatically.
> any ideas what I'm doing wrong?

Hard to say.  Either it's not really a compatible cpio format (some
Solaris native format perhaps) or cpio doesn't recognize the format
automatically and you should try the -H command line switch.

Out of curiosity, what does `file v240-disbox-v1-08-archive' print?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

