Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-11-2012, 12:54 AM   #1
Registered: Mar 2012
Location: Shenzhen Chian
Posts: 73

Rep: Reputation: Disabled
How to extract a ASCII cpio archive(SVR4 with no CRC)

Hello friends,

There is a ASCII cpio archive(SVR4 with on CRC), would you please tell me how many methods or utitlities can be used for extracting such kind of archive? the more, the better.

root@benjamin-virtual-machine:/GPL/tmp/ramdisk# file out64c 
out64c: ASCII cpio archive (SVR4 with no CRC)
Any reply will be appreciated. Thank you all.
Old 11-11-2012, 02:47 PM   #2
Registered: Sep 2003
Posts: 382

Rep: Reputation: 87
Have you tried the -c option of cpio?
Old 11-11-2012, 11:50 PM   #3
Registered: Mar 2012
Location: Shenzhen Chian
Posts: 73

Original Poster
Rep: Reputation: Disabled
Hello kakaka,

Thank you for your advice, I have tried those options. And then it works.
root@gpl-vm:/GPL/test/ufsd/pearl/PX-8690/7800HB-german-20111011/ramdisk# cpio -i -F out64c 
541 blocks
root@gpl-vm:/GPL/test/ufsd/pearl/PX-8690/7800HB-german-20111011/ramdisk# ll
total 608
drwxr-xr-x 8 root root   4096 Nov 12 07:19 ./
drwxr-xr-x 7 root root   4096 Nov 12 06:10 ../
drwxrwx--x 2 root root   4096 Nov 12 07:19 data/
-rw-r--r-- 1 root root    118 Nov 12 07:19 default.prop
drwxr-xr-x 2 root root   4096 Nov 12 07:19 dev/
-rwxr-x--- 1 root root 107736 Nov 12 07:19 init*
-rwxr-x--- 1 root root   1677 Nov 12 07:19 init.goldfish.rc*
-rwxr-x--- 1 root root  17429 Nov 12 07:19 init.rc*
-rw-r--r-- 1 root root 276736 Nov 12 06:19 out64c
drwxr-xr-x 2 root root   4096 Nov 12 07:19 proc/
-rw-r--r-- 1 root root 169052 Oct 11  2011 ramdisk.img
drwxr-x--- 2 root root   4096 Nov 12 07:19 sbin/
drwxr-xr-x 2 root root   4096 Nov 12 07:19 sys/
drwxr-xr-x 2 root root   4096 Nov 12 07:19 system/
Thank you kakaka.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Appending to an existing CPIO archive metallica1973 Linux - Server 1 11-01-2011 02:14 PM
cpio archive does not restore directories. pobman AIX 1 11-24-2008 08:31 PM
CPIO hangs - doesn't extract archive zivota Red Hat 1 04-21-2006 01:58 AM
how to copy-in cpio archive to temp directory jxi Slackware 2 03-08-2006 04:32 PM
How to use cpio to extract a cpio archive? linx win Debian 4 06-17-2005 01:53 PM

All times are GMT -5. The time now is 04:55 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration