From ce002e703aa0aa53e3ea90bf6101eee3beba7314 Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Thu, 1 Jan 2015 17:43:47 +0000 Subject: [PATCH] Put back stricter checks for DOS/MBR partition: https://bugs.debian.org/774219 --- magic/Magdir/filesystems | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/magic/Magdir/filesystems b/magic/Magdir/filesystems index 2075c7d9..844784b3 100644 --- a/magic/Magdir/filesystems +++ b/magic/Magdir/filesystems @@ -1,5 +1,5 @@ #------------------------------------------------------------------------------ -# $File: filesystems,v 1.106 2014/10/23 17:17:09 christos Exp $ +# $File: filesystems,v 1.107 2014/12/03 18:02:52 christos Exp $ # filesystems: file(1) magic for different filesystems # 0 name partid @@ -260,6 +260,13 @@ >>(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 -- 2.50.1