On 28/02/07 12:30 -0600, Manoj Srivastava wrote:
>         Actually, no: it is a modified cpio. The implementation is
>  pretty close, but it has some behaviors which are more to RPM's
>  liking. If you take a plain old cpio from Solaris/Aix/HPUX et al
>  you'll find that you can't really inspect/create rpm files.
> 
No, RPM is cpio encapsulated in packaging headers. If you remove the
headers, you are left with plain old cpio files.

>         Which is why we have rpm2cpio package, it converts the rpm to
>  standard cpio format. If it was a plain old cpio, you would not need
>  rpm2cpio.
> 
rpm2cpio understands the RPM headers. As long as you know the packaging
header length, you can simply use dd to extract the cpio file out.

Devdas Bhagat

-- 
http://mm.glug-bom.org/mailman/listinfo/linuxers

Reply via email to