CPIO Specification

View: New views
3 Messages — Rating Filter:   Alert me  

CPIO Specification

by Christian Grobmeier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

I am highly interested in the internals of CPIO. Unfortnuatly i didn't
find the specifications about the format of a CPIO archive, for
example whats the "TRAILER!!!" and such.

Can anybody help me out with the link or a hint where I can find the document?

Best regards,
Christian


_______________________________________________
Bug-cpio mailing list
Bug-cpio@...
http://lists.gnu.org/mailman/listinfo/bug-cpio

Re: CPIO Specification

by Tim Kientzle :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Christian Grobmeier wrote:
>
> I am highly interested in the internals of CPIO. Unfortnuatly i didn't
> find the specifications about the format of a CPIO archive, for
> example whats the "TRAILER!!!" and such.
>
> Can anybody help me out with the link or a hint where I can find the document?

There are many CPIO variants, most are undocumented.

POSIX standardized an "octet-oriented" format (today called
"odc") that is now documented as being one of the formats
supported by pax:

http://www.opengroup.org/onlinepubs/009695399/utilities/pax.html

In the process of working on libarchive, I scraped together
documentation for a number of cpio formats; you can see the result
at:

http://people.freebsd.org/~kientzle/libarchive/man/cpio.5.txt

or get the mdoc source file at

http://libarchive.googlecode.com/svn/trunk/libarchive/cpio.5

Cheers,

Tim


_______________________________________________
Bug-cpio mailing list
Bug-cpio@...
http://lists.gnu.org/mailman/listinfo/bug-cpio

Re: CPIO Specification

by Christian Grobmeier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Tim!
I think the freebsd describes what I want.
Cheers,
Christian

On Sat, Mar 21, 2009 at 8:19 PM, Tim Kientzle <kientzle@...> wrote:

> Christian Grobmeier wrote:
>>
>> I am highly interested in the internals of CPIO. Unfortnuatly i didn't
>> find the specifications about the format of a CPIO archive, for
>> example whats the "TRAILER!!!" and such.
>>
>> Can anybody help me out with the link or a hint where I can find the
>> document?
>
> There are many CPIO variants, most are undocumented.
>
> POSIX standardized an "octet-oriented" format (today called
> "odc") that is now documented as being one of the formats
> supported by pax:
>
> http://www.opengroup.org/onlinepubs/009695399/utilities/pax.html
>
> In the process of working on libarchive, I scraped together
> documentation for a number of cpio formats; you can see the result
> at:
>
> http://people.freebsd.org/~kientzle/libarchive/man/cpio.5.txt
>
> or get the mdoc source file at
>
> http://libarchive.googlecode.com/svn/trunk/libarchive/cpio.5
>
> Cheers,
>
> Tim
>


_______________________________________________
Bug-cpio mailing list
Bug-cpio@...
http://lists.gnu.org/mailman/listinfo/bug-cpio