WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Working With CPIO ?  (Read 3250 times)

Offline mbzadegan

  • Newbie
  • *
  • Posts: 33
Working With CPIO ?
« on: February 12, 2011, 11:44:26 PM »
Dear Leaders :

i wanna to extract microcore.cpio and rebuilded it but the command of cpio -i is not working for me !!!
What command does need to Extract cpio files ? ( & for create ? ) :)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: Working With CPIO ?
« Reply #1 on: February 12, 2011, 11:53:08 PM »
Hi mbzadegan
I don't know the answer off the top of my head but I know it's been covered. Try
searching the forums using combinations of the words cpio, extract, compress,
compile, bzImage and initrd.

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: Working With CPIO ?
« Reply #2 on: February 13, 2011, 12:14:09 AM »
to extract
Code: [Select]
cpio -idv -F microcore.cpio
see for more
http://www.thegeekstuff.com/2010/08/cpio-utility/
« Last Edit: February 13, 2011, 12:22:05 AM by Arslan S. »

Offline mbzadegan

  • Newbie
  • *
  • Posts: 33
Re: Working With CPIO ?
« Reply #3 on: February 13, 2011, 01:59:52 AM »
Very Well , That's Right ,  :)
How can i create microcore.gz from my rebulided folder ?

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: Working With CPIO ?
« Reply #4 on: February 13, 2011, 02:30:17 AM »
Code: [Select]
find | sudo cpio -o -H newc -F microcore.cpio
if you are remastering see wiki page
http://wiki.tinycorelinux.com/Remastering