Created attachment 991981 [details]
Description of problem:
Hybrid ISOs (those with El Torito boot image and also embedded MBR) are currently not distinguished from normal ISOs (without embedded MBR). It would be nice if they could be detected by file utility.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Download Fedora Workstation Live DVD
2. Run file on it
ISO 9660 CD-ROM filesystem data 'Fedora-Live-WS-x86_64-21-5' (bootable)
ISO 9660 CD-ROM filesystem data (DOS/MBR boot sector) 'Fedora-Live-WS-x86_64-21-5' (bootable)
Attached patch adds "(DOS/MBR boot sector)" to hybrid ISOs with embedded MBR. Feel free to change the string, I choose it to be compatible with strings used for MBR detection. To distinguish hybrid / non hybrid ISOs, one had to run 'file -l ISO' which was quite clumsy. This patch should ease the detection. Also please forward the patch to upstream.
(In reply to Jaroslav Škarvada from comment #0)
> To distinguish hybrid / non hybrid ISOs, one had to run
> 'file -l ISO' which was quite clumsy.
fdisk -l ISO
Or add the string to the end, e.g.:
ISO 9660 CD-ROM filesystem data 'Fedora-Live-WS-x86_64-21-5' (bootable) (DOS/MBR boot sector)
Sent upstream: http://bugs.gw.com/view.php?id=430
This should be fixed by update to new version of file - file-5.24 in Rawhide. Feel free to reopen if it still doesn't work with file-5.24.