diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2021-01-13 08:09:17 +0200 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2021-01-13 08:18:48 +0200 |
commit | 64289ad100992d04f6c6808fa376ddb79e3c9c74 (patch) | |
tree | e311f1bb92ecf42cf0960ea1bede5d68dae157ba | |
parent | 367db322bcb1fe0764623141ac21086443cec9b7 (diff) | |
download | shared-mime-info-64289ad100992d04f6c6808fa376ddb79e3c9c74.tar.gz |
application/x-vhd-disk, /x-vhdx-disk: new
https://en.wikipedia.org/wiki/VHD_(file_format)
-rw-r--r-- | data/freedesktop.org.xml.in | 21 | ||||
-rw-r--r-- | tests/mime-detection/disk.vhd | bin | 0 -> 2560 bytes | |||
-rw-r--r-- | tests/mime-detection/disk.vhdx | bin | 0 -> 1024 bytes | |||
-rw-r--r-- | tests/mime-detection/list | 6 |
4 files changed, 26 insertions, 1 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in index 4a4b45ec..146716b5 100644 --- a/data/freedesktop.org.xml.in +++ b/data/freedesktop.org.xml.in @@ -7477,6 +7477,27 @@ command to generate the output files. </match> </magic> </mime-type> + <mime-type type="application/x-vhd-disk"> + <comment>VHD disk image</comment> + <acronym>VHD</acronym> + <expanded-acronym>Virtual Hard Disk</expanded-acronym> + <glob pattern="*.vhd"/> + <glob pattern="*.vpc"/> + <magic> + <match type="string" value="conectix" offset="0"/> + </magic> + <alias type="application/x-virtualbox-vhd"/> + </mime-type> + <mime-type type="application/x-vhdx-disk"> + <comment>VHDX disk image</comment> + <acronym>VHD</acronym> + <expanded-acronym>Virtual Hard Disk</expanded-acronym> + <glob pattern="*.vhdx"/> + <magic> + <match type="string" value="vhdxfile" offset="0"/> + </magic> + <alias type="application/x-virtualbox-vhdx"/> + </mime-type> <mime-type type="application/x-appleworks-document"> <comment>AppleWorks document</comment> diff --git a/tests/mime-detection/disk.vhd b/tests/mime-detection/disk.vhd Binary files differnew file mode 100644 index 00000000..ff1a5c22 --- /dev/null +++ b/tests/mime-detection/disk.vhd diff --git a/tests/mime-detection/disk.vhdx b/tests/mime-detection/disk.vhdx Binary files differnew file mode 100644 index 00000000..74fee383 --- /dev/null +++ b/tests/mime-detection/disk.vhdx diff --git a/tests/mime-detection/list b/tests/mime-detection/list index 1d55f41a..4ce784ce 100644 --- a/tests/mime-detection/list +++ b/tests/mime-detection/list @@ -789,8 +789,12 @@ binary.stl model/stl oxo ascii.stl model/stl test.gcode text/x.gcode ox -# QEMU disk image +# Virtualization disk images disk.qcow2 application/x-qemu-disk +# qemu-img convert -O vpc disk.qcow2 disk.vhd +disk.vhd application/x-vhd-disk x +# qemu-img convert -O vhdx disk.qcow2 disk.vhdx # (first 1024 bytes of 128MB) +disk.vhdx application/x-vhdx-disk # ROM hack scene patching formats SLA.bps application/x-bps-patch |