Bug 533151 - file command doesn't recognize deltaisos or rpm-only deltarpms
Summary: file command doesn't recognize deltaisos or rpm-only deltarpms
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: file
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Novotny
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-05 11:48 UTC by Andre Robatino
Modified: 2009-11-05 15:23 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-11-05 15:23:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
deltaiso generated with the command "makedeltaiso Fedora-Unity-20090414-10-ppc-DVD2.iso Fedora-Unity-20090414-10-ppc-DVD2.iso foo.diso" (462 bytes, application/octet-stream)
2009-11-05 11:50 UTC, Andre Robatino
no flags Details
ordinary deltarpm generated with the command "makedeltarpm livna-release-1-1.noarch.rpm livna-release-1-1.noarch.rpm foo1.drpm" (2.98 KB, application/octet-stream)
2009-11-05 11:51 UTC, Andre Robatino
no flags Details
rpm-only deltarpm generated with the command "makedeltarpm -r livna-release-1-1.noarch.rpm livna-release-1-1.noarch.rpm foo2.drpm" (465 bytes, application/octet-stream)
2009-11-05 11:52 UTC, Andre Robatino
no flags Details
a patch for adding new magic (903 bytes, patch)
2009-11-05 15:17 UTC, Daniel Novotny
no flags Details | Diff

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


Note You need to log in before you can comment on or make changes to this bug.