Bug 705499 - 'file' command in Rawhide prints "DOS-executable (" [sic] for file of all zeroes
Summary: 'file' command in Rawhide prints "DOS-executable (" [sic] for file of all zeroes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: file
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Kaluža
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 707374 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-17 19:46 UTC by Richard W.M. Jones
Modified: 2011-05-25 08:10 UTC (History)
2 users (show)

Fixed In Version: file-5.07-2.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-25 02:30:41 UTC
Type: ---


Attachments (Terms of Use)

Description Richard W.M. Jones 2011-05-17 19:46:23 UTC
Description of problem:

The 'file' command in Rawhide gives a strange output for a file
of all zeroes:

$ truncate -s 100M /tmp/test
$ file /tmp/test
/tmp/test: DOS-executable (

Or in case you think sparseness is a problem:

$ dd if=/dev/zero of=/tmp/test bs=1M count=100
100+0 records in
100+0 records out
104857600 bytes (105 MB) copied, 0.258742 s, 405 MB/s
$ file /tmp/test
/tmp/test: DOS-executable (

Version-Release number of selected component (if applicable):

file-5.07-1.fc16.x86_64

How reproducible:

100%

Note this is a regression over the previous version I was
using from Fedora 15, which printed "data".

Steps to Reproduce:
1. See above.
2.
3.
  
Actual results:

DOS-executable (

Expected results:

Something else, eg. the old "data" string.

Additional info:

Comment 1 Richard W.M. Jones 2011-05-17 19:55:15 UTC
Submitted upstream bug report:
http://bugs.gw.com/view.php?id=125

Comment 2 Jan Kaluža 2011-05-18 11:14:46 UTC
Thanks for submitting it upstream. It's regression in new version caused by new DOS device driver pattern, which is broken. I'm not sure how it was supposed to work anyway...

Comment 3 Fedora Update System 2011-05-23 11:11:27 UTC
file-5.07-2.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/file-5.07-2.fc15

Comment 4 Fedora Update System 2011-05-25 02:30:08 UTC
file-5.07-2.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Gregor Gruener 2011-05-25 08:10:37 UTC
*** Bug 707374 has been marked as a duplicate of this bug. ***


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