Red Hat Bugzilla – Bug 13042
RH 6.2: /usr/share/magic has lost the entry for JPEG image files
Last modified: 2008-05-01 11:37:56 EDT
I had to manually add:
# JPEG images
# SunOS 5.5.1 had
# 0 string \377\330\377\340 JPEG file
# 0 string \377\330\377\356 JPG file
# both of which turn into "JPEG image data" here.
0 beshort 0xffd8 JPEG image data
>6 string JFIF \b, JFIF standard
# HSI is Handmade Software's proprietary JPEG encoding scheme
0 string hsi1 JPEG image data, HSI proprietary
This is fixed in (at least) file-3.30-1 and later from Raw Hide. Either rebuild
that src.rpm, or edit in by hand.