1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00

mime: also add magic-based mime type rules for our other binary files

No immediate usecase, it's just nice that if you browser these files
with a graphical file manager you see them recognized as what they are.
This commit is contained in:
Lennart Poettering 2024-01-15 15:01:24 +01:00
parent 2dda9c779e
commit 16d4aed919

View File

@ -10,6 +10,24 @@
<comment>Configuration Extension DDI</comment> <comment>Configuration Extension DDI</comment>
<glob pattern="*.confext.raw"/> <glob pattern="*.confext.raw"/>
</mime-type> </mime-type>
<mime-type type="application/x.systemd-journal">
<comment>Journal Log File</comment>
<magic>
<match type="string" value="LPKSHHRH" offset="0"/>
</magic>
</mime-type>
<mime-type type="application/x.systemd-catalog">
<comment>Journal Message Catalog</comment>
<magic>
<match type="string" value="RHHHKSLP" offset="0"/>
</magic>
</mime-type>
<mime-type type="application/x.systemd-hwdb">
<comment>Hardware Database</comment>
<magic>
<match type="string" value="KSLPHHRH" offset="0"/>
</magic>
</mime-type>
<mime-type type="application/x.systemd-credential"> <mime-type type="application/x.systemd-credential">
<comment>Encrypted Credential</comment> <comment>Encrypted Credential</comment>
<generic-icon name="security-high"/> <generic-icon name="security-high"/>