Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: Thu, 19 May 2005 17:44:44 -0700 (PDT) From: "Peter A. Castro" To: "Clemson, Chris" cc: cygwin AT cygwin DOT com Subject: Re: CPIO with solaris 9 flash archives In-Reply-To: <8DF313F23701E14797635CF8AC0318A61CD8A0@UKMSG04.gbr.ad.sag> Message-ID: References: <8DF313F23701E14797635CF8AC0318A61CD8A0 AT UKMSG04 DOT gbr DOT ad DOT sag> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-IsSubscribed: yes On Wed, 18 May 2005, 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? > thanks, 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. > chris -- Peter A. Castro or "Cats are just autistic Dogs" -- Dr. Tony Attwood -- 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/