]> granicus.if.org Git - file/commitdiff
print something before the ', offset', and boost the strength so that it
authorChristos Zoulas <christos@zoulas.com>
Thu, 23 Oct 2014 17:17:09 +0000 (17:17 +0000)
committerChristos Zoulas <christos@zoulas.com>
Thu, 23 Oct 2014 17:17:09 +0000 (17:17 +0000)
wins the standard DOS/MBR boot sector magic. XXX: this all needs to be
refactored

magic/Magdir/filesystems

index 946a8ecf9bedcb0e8693eea9feebbfa118cea1a0..38b32a6b00a78e1aec4ab6b1ceedc43dcc00078c 100644 (file)
@@ -1,5 +1,5 @@
 #------------------------------------------------------------------------------
-# $File: filesystems,v 1.105 2014/10/22 19:16:30 christos Exp $
+# $File: filesystems,v 1.106 2014/10/23 17:17:09 christos Exp $
 # filesystems:  file(1) magic for different filesystems
 #
 0      name    partid  
 # maximal short forward jump is 0x7f
 # OEM-ID is empty or contain readable bytes
 0              ulelong&0x804000E9      0x000000E9
+!:strength     +60
 # mtools-3.9.8/msdos.h
 # usual values are marked with comments to get only informations of strange FAT systems
 # valid sectorsize must be a power of 2 from 32 to 32768
 >>11           uleshort        <32769          
 >>>11          uleshort        >31             
 >>>>21         ubyte&0xf0      0xF0            
->>>>>0         ubyte           0xEB            
+>>>>>0         ubyte           0xEB            DOS/MBR boot sector
 >>>>>>1                ubyte           x               \b, code offset 0x%x+2
 >>>>>0         ubyte           0xE9            
 >>>>>>1                uleshort        x               \b, code offset 0x%x+3