Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Excecuting CPIO in windows 2000 via DOS

Posted on 2003-03-06
4
Medium Priority
?
364 Views
Last Modified: 2010-04-21
I am currently trying to extract a cpio file from a Dos shell within windows 2000. This file is coming from a Unix environment.

The line I want to execute is
   cpio -icvBdmu < filename.cpio

I have downloaded an application called UnixDos which executes unix commands from within Windows 2000. However, this does not allow you to pass the switch B to the command CPIO. Therefore I could only use:

   cpio -icvdmu < filename.cpio

When executed the following erros message "Out of Phase -- reading next block" continuously repeats until I break out of it. The UnixDos does not seem to refer how you can set Block size to XXXX anywhere.

My question is does anyone know what is the best way to extract a cpio file in windows? Is it possible to pass the above switches?
0
Comment
Question by:CanMania
  • 2
  • 2
4 Comments
 
LVL 20

Accepted Solution

by:
Gns earned 240 total points
ID: 8079415
Cygwin. Get it from http://www.cygwin.com
It includes, amongst many nifty features, cpio.
You will be able to use both -B and --block-size= syntax:-).

-- Glenn
0
 

Author Comment

by:CanMania
ID: 8079627
Thanks Glenn for that, will try it out and get back to you.
Canice
0
 

Author Comment

by:CanMania
ID: 8080966
Glenn,

I have installed this application and have it working.

The only problem I am having is that the file I am trying to extract is over 1GB and the CPU usage maxed out.

thanks
Canice
0
 
LVL 20

Expert Comment

by:Gns
ID: 8081057
I don't know if the "nice" utility have any effect under cygwin, but you could always try it:-).
r just live with it:-).

-- Glenn
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

581 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question