Re: magic numbers for deltarpms and deltaisos

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 05, 2009 at 09:00:52AM +0200, Jonathan Dieter wrote:
> On Thu, 2009-11-05 at 01:24 -0500, Andre Robatino wrote:
> > The file command appears to detect deltarpms as the same type of file as
> > regular RPMs.  Deltaisos are only detected as "data".  Is this normal
> > behavior?
> 
> A deltarpm's header is identical to a rpm's header (except that the
> payload format is "drpm"), so it will always be seen as an rpm by file.

That's true for "header" deltarpms, but "rpm-only" delta rpms
start with "drpm".

> I'm not sure about deltaiso.

They start with "DISO" and then 4 bytes deltaiso version in network
byte order.

Cheers,
  Michael.

-- 
Michael Schroeder                                   mls@xxxxxxx
SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux