This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: CPIO with solaris 9 flash archives
- From: Larry Hall <lh-no-personal-replies-please at cygwin dot com>
- To: "Clemson, Chris" <Chris dot Clemson at softwareag dot co dot uk>, <cygwin at cygwin dot com>
- Date: Wed, 18 May 2005 12:53:51 -0400
- Subject: Re: CPIO with solaris 9 flash archives
- References: <8DF313F23701E14797635CF8AC0318A61CD8A0@UKMSG04.gbr.ad.sag>
- Reply-to: Cygwin List <cygwin at cygwin dot com>
At 11:23 AM 5/18/2005, you 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?
You're not reading the warnings? You may need to read the 'cpio' man page
as well. You're looking for the '-b' switch I believe. BTW, this
is not a Cygwin-specific issue. It's an endian thing.
--
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
838 Washington Street (508) 893-9889 - FAX
Holliston, MA 01746
--
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/