[File] magic-filesystems patch
Christos Zoulas
christos at zoulas.com
Sun May 17 19:32:21 UTC 2020
Committed, thanks!
christos
> On May 13, 2020, at 12:57 PM, Vincent Mihalkovic <vmihalko at redhat.com> wrote:
>
> Hi,
>
>
>
> I'm trying to fix this bug - https://bugzilla.redhat.com/show_bug.cgi?id=1696798 <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
>
>
> <file-5.39-filesystems-magic.patch>--
> File mailing list
> File at astron.com
> https://mailman.astron.com/mailman/listinfo/file
> <sanitizer.log>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.astron.com/pipermail/file/attachments/20200517/deb65ffc/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 235 bytes
Desc: Message signed with OpenPGP
URL: <https://mailman.astron.com/pipermail/file/attachments/20200517/deb65ffc/attachment.asc>
More information about the File
mailing list