Bug 533151

Summary: file command doesn't recognize deltaisos or rpm-only deltarpms
Product: [Fedora] Fedora Reporter: Andre Robatino <robatino>
Component: fileAssignee: Daniel Novotny <dnovotny>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: dnovotny
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-05 15:23:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
deltaiso generated with the command "makedeltaiso Fedora-Unity-20090414-10-ppc-DVD2.iso Fedora-Unity-20090414-10-ppc-DVD2.iso foo.diso"
none
ordinary deltarpm generated with the command "makedeltarpm livna-release-1-1.noarch.rpm livna-release-1-1.noarch.rpm foo1.drpm"
none
rpm-only deltarpm generated with the command "makedeltarpm -r livna-release-1-1.noarch.rpm livna-release-1-1.noarch.rpm foo2.drpm"
none
a patch for adding new magic none

Description Andre Robatino 2009-11-05 11:48:16 UTC
Description of problem:
The file command doesn't recognize the magic numbers in either deltaisos or rpm-only deltarpms, seeing these files only as "data".  See

https://www.redhat.com/archives/fedora-devel-list/2009-November/msg00259.html

Version-Release number of selected component (if applicable):
file-5.03-9.fc12

How reproducible:
always

Steps to Reproduce:
1.  Create either a deltaiso with the makedeltaiso command, or an rpm-only deltarpm with the makedeltarpm command and the -r option.
2.  Run the file command on resulting file.
  
Actual results:
File is recognized only as "data".

Expected results:
Should recognize the magic numbers.

Comment 1 Andre Robatino 2009-11-05 11:50:14 UTC
Created attachment 367600 [details]
deltaiso generated with the command "makedeltaiso Fedora-Unity-20090414-10-ppc-DVD2.iso Fedora-Unity-20090414-10-ppc-DVD2.iso foo.diso"

Comment 2 Andre Robatino 2009-11-05 11:51:40 UTC
Created attachment 367601 [details]
ordinary deltarpm generated with the command "makedeltarpm livna-release-1-1.noarch.rpm livna-release-1-1.noarch.rpm foo1.drpm"

Comment 3 Andre Robatino 2009-11-05 11:52:40 UTC
Created attachment 367602 [details]
rpm-only deltarpm generated with the command "makedeltarpm -r livna-release-1-1.noarch.rpm livna-release-1-1.noarch.rpm foo2.drpm"

Comment 4 Daniel Novotny 2009-11-05 15:17:59 UTC
Created attachment 367635 [details]
a patch for adding new magic

Comment 5 Daniel Novotny 2009-11-05 15:23:23 UTC
fixed in file-5.03-12.fc13