[File] magic-filesystems patch
Vincent Mihalkovic
vmihalko at redhat.com
Wed May 13 16:57:12 UTC 2020
Hi,
I'm trying to fix this bug -
https://bugzilla.redhat.com/show_bug.cgi?id=1696798. Problem is in
completely different output for two {aarch64,x86_64}*.iso files:
$ file Fedora-Server-netinst-*
Fedora-Server-netinst-aarch64-29-1.2.iso: ISO 9660 CD-ROM filesystem data
'Fedora-S-dvd-aarch64-29' (bootable)
Fedora-Server-netinst-x86_64-29-1.2.iso: DOS/MBR boot sector; partition 2 :
ID=0xef, start-CHS (0x3ff,254,63), end-CHS (0x3ff,254,63), startsector 196,
19960 sectors
I find out that due to intention mention in /magic/Magdir/filesystems; line
1996: "# to display CD-ROM (114=81+33) before MBR (113=40+72+1),
partition-table (71=50+21) and Apple Driver Map (51)" present situation is
that both DOS/MBR boot sector (/magic/Magdir/filesystems; line 266) and
CDROM (/magic/Magdir/filesystems; line 1998) has the same strength (115),
so by me proposed patch is increasing the CDROM strength.
Output after applied patch looks like this:
$ file Fedora-Server-netinst-*
Fedora-Server-netinst-aarch64-29-1.2.iso: ISO 9660 CD-ROM filesystem data
'Fedora-S-dvd-aarch64-29' (bootable)
Fedora-Server-netinst-x86_64-29-1.2.iso: ISO 9660 CD-ROM filesystem data
(DOS/MBR boot sector) 'Fedora-S-dvd-x86_64-29' (bootable)
Regards,
vincent mihalkovic
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.astron.com/pipermail/file/attachments/20200513/88f8e80d/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: file-5.39-filesystems-magic.patch
Type: text/x-patch
Size: 531 bytes
Desc: not available
URL: <https://mailman.astron.com/pipermail/file/attachments/20200513/88f8e80d/attachment.bin>
More information about the File
mailing list