]> granicus.if.org Git - file/commitdiff
PR/171: Add magic for QEMU QED images
authorChristos Zoulas <christos@zoulas.com>
Thu, 21 Jun 2012 01:10:53 +0000 (01:10 +0000)
committerChristos Zoulas <christos@zoulas.com>
Thu, 21 Jun 2012 01:10:53 +0000 (01:10 +0000)
magic/Magdir/msdos

index 1add3e9004eba2169b6028f24825b0d7585bfbc2..c1402ffa93eaf66ee7daafa509695bb0709235f7 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: msdos,v 1.77 2011/12/07 22:05:05 christos Exp $
+# $File: msdos,v 1.79 2012/06/21 01:06:54 christos Exp $
 # msdos:  file(1) magic for MS-DOS files
 #
 
 #
 2080   string  Microsoft\ Excel\ 5.0\ Worksheet        %s
 !:mime application/vnd.ms-excel
+#
+0      string/b        \xDB\xA5\x2D\x00                Microsoft WinWord 2.0 Document
+!:mime application/msword
 
 2080   string  Foglio\ di\ lavoro\ Microsoft\ Exce     %s
 !:mime application/vnd.ms-excel
 
 0      string/b        QEVM            QEMU suspend to disk image
 
+# QEMU QED Image
+# http://wiki.qemu.org/Features/QED/Specification
+0      string/b        QED\0           QEMU QED Image
+
+# VDI Image
+64     string/b        \x7f\x10\xda\xbe        VDI Image
+>68    string/b        \x01\x00\x01\x00        version 1.1
+>0     string          >\0                     (%s)
+>368   lequad          x                        \b, %lld bytes
+
 0      string/b        Bochs\ Virtual\ HD\ Image       Bochs disk image,
 >32    string  x                               type %s,
 >48    string  x                               subtype %s