systemd/mime/io.systemd.xml
Lennart Poettering eb981a5b9b mime: register confext/sysext images in shared-mime-info
This make them recognized by file managers and stuff. Maybe one day we
should properly register mime types in the "vnd." namespace with IANA,
but I am too lazy to deal with the bureaucracy for that, hence let's
stick with the x. namespace for now.

This defines confext/sysext DDIs as subtype of:

https://www.iana.org/assignments/media-types/application/vnd.efi.img

Which is what everyone appears to use for raw disk images, in particular
if they contain a GPT partition table.
2023-12-06 22:11:21 +01:00

14 lines
525 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/x.systemd-sysext">
<sub-class-of type="application/vnd.efi.img"/>
<comment>System Extension DDI</comment>
<glob pattern="*.sysext.raw"/>
</mime-type>
<mime-type type="application/x.systemd-confext">
<sub-class-of type="application/vnd.efi.img"/>
<comment>Configuration Extension DDI</comment>
<glob pattern="*.confext.raw"/>
</mime-type>
</mime-info>