LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-11-2012, 12:54 AM   #1
chinabenjamin66
Member
 
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.

Code:
root@benjamin-virtual-machine:/GPL/tmp/ramdisk# file out64c 
out64c: ASCII cpio archive (SVR4 with no CRC)
root@benjamin-virtual-machine:/GPL/tmp/ramdisk#
Any reply will be appreciated. Thank you all.
 
Old 11-11-2012, 02:47 PM   #2
rigor
Member
 
Registered: Sep 2003
Location: 19th moon ................. ................Planet Covid ................Another Galaxy;............. ................Not Yours
Posts: 705

Rep: Reputation: Disabled
Have you tried the -c option of cpio?
 
Old 11-11-2012, 11:50 PM   #3
chinabenjamin66
Member
 
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.
Code:
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/
root@gpl-vm:/GPL/test/ufsd/pearl/PX-8690/7800HB-german-20111011/ramdisk#
Thank you kakaka.
 
Old 08-23-2019, 12:18 AM   #4
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Heads up that Apple's San Franciso fonts are free.

https://developer.apple.com/fonts/

As for extracting them... it's three commands. "7z x" on the dmg file, "7z x" on the pkg file inside, "cpio -i" on the "Payload~" file inside the pkg file.

EDIT: pardon the necropost. I actually meant to post this in another thread.

Last edited by dugan; 08-23-2019 at 12:50 AM.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:54 PM.

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