]> granicus.if.org Git - file/commitdiff
Put back stricter checks for DOS/MBR partition:
authorChristos Zoulas <christos@zoulas.com>
Thu, 1 Jan 2015 17:43:47 +0000 (17:43 +0000)
committerChristos Zoulas <christos@zoulas.com>
Thu, 1 Jan 2015 17:43:47 +0000 (17:43 +0000)
https://bugs.debian.org/774219

magic/Magdir/filesystems

index 00baaed9ed0a4a842951b36f5016dafeb72d9b77..939a0920c929233261629deca909e9749c528fc6 100644 (file)
@@ -1,5 +1,5 @@
 #------------------------------------------------------------------------------
-# $File: filesystems,v 1.107 2014/12/03 18:02:52 christos Exp $
+# $File: filesystems,v 1.108 2015/01/01 17:43:47 christos Exp $
 # filesystems:  file(1) magic for different filesystems
 #
 0      name    partid  
 >>(11.s-2)     uleshort        0xAA55          DOS/MBR boot sector
 # for sector sizes with 512 or more Bytes
 >0x1FE         leshort         0xAA55          DOS/MBR boot sector
+
+# keep old DOS/MBR boot sector as dummy for mbr and bootloader displaying
+# only for sector sizes with 512 or more Bytes
+0x1FE          leshort         0xAA55          DOS/MBR boot sector
+#
+# to display information (50) before DOS BPB (strength=70) and after DOS floppy (120) like in old file version
+!:strength +65
 >2             string          OSBS            OS/BS MBR
 # added by Joerg Jenderek at Feb 2013 according to http://thestarman.pcministry.com/asm/mbr/
 # and http://en.wikipedia.org/wiki/Master_Boot_Record