delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/05/20/05:13:54

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Fri, 20 May 2005 11:13:20 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: CPIO with solaris 9 flash archives
Message-ID: <20050520091320.GB21791@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <8DF313F23701E14797635CF8AC0318A61CD8A0 AT UKMSG04 DOT gbr DOT ad DOT sag> <Pine DOT LNX DOT 4 DOT 60 DOT 0505191743070 DOT 16607 AT gremlin DOT fruitbat DOT org>
Mime-Version: 1.0
In-Reply-To: <Pine.LNX.4.60.0505191743070.16607@gremlin.fruitbat.org>
User-Agent: Mutt/1.4.2i

On May 19 17:44, Peter A. Castro wrote:
> On Wed, 18 May 2005, Clemson, Chris wrote:
> >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
> 
> How did you get the file to your PC?  Did you FTP it?  Did you remember
> to use binary mode? As an experiment, I FTP'd a Solaris 8 CPIO file in
> ASC mode and ran cpio against it.  The results are similar to what you
> show above.

And just for the records, Solaris usually creates cpio archives which are
compatible with Cygwin.  The output of file shows:

Solaris$ find . | cpio -o > x.cpio
Cygwin$ file x.cpio
x.cpio: byte-swapped cpio archive

Solaris$ find . | cpio -oc > x.cpio
Cygwin$ file x.cpio
x.cpio: ASCII cpio archive (SVR4 with no CRC)

I just tried it, out of curiosity.  Both variations are readable by
GNU cpio.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019