diff options
author | Lennart Poettering <lennart@poettering.net> | 2024-01-15 15:01:24 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2024-01-17 22:52:19 +0100 |
commit | 16d4aed919318fb70fb8a0c6289bc92dc212115c (patch) | |
tree | 75929e307df1a0924a65c21c1e31ad921d7dd487 /mime/io.systemd.xml | |
parent | mime: expose a mime type for encrypted credentials (diff) | |
download | systemd-16d4aed919318fb70fb8a0c6289bc92dc212115c.tar.xz systemd-16d4aed919318fb70fb8a0c6289bc92dc212115c.zip |
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.
Diffstat (limited to 'mime/io.systemd.xml')
-rw-r--r-- | mime/io.systemd.xml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/mime/io.systemd.xml b/mime/io.systemd.xml index cd36f8116c..f362006a47 100644 --- a/mime/io.systemd.xml +++ b/mime/io.systemd.xml @@ -10,6 +10,24 @@ <comment>Configuration Extension DDI</comment> <glob pattern="*.confext.raw"/> </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"> <comment>Encrypted Credential</comment> <generic-icon name="security-high"/> |