From: Christos Zoulas Date: Thu, 2 Mar 2006 22:14:23 +0000 (+0000) Subject: fix broken magic X-Git-Tag: FILE4_17~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=575d13768c93010853b319c331cd0d0ff52ec312;p=file fix broken magic --- diff --git a/magic/Magdir/btsnoop b/magic/Magdir/btsnoop index 5ade6ba4..85d867a4 100644 --- a/magic/Magdir/btsnoop +++ b/magic/Magdir/btsnoop @@ -1,11 +1,11 @@ -+#------------------------------------------------------------------------------ -+# BTSnoop: file(1) magic for BTSnoop files -+# -+# From -+0 string btsnoop\0 BTSnoop -+>8 belong x version %d, -+>12 belong 1001 Unencapsulated HCI -+>12 belong 1002 HCI UART (H4) -+>12 belong 1003 HCI BCSP -+>12 belong 1004 HCI Serial (H5) -+>>12 belong x type %d +#------------------------------------------------------------------------------ +# BTSnoop: file(1) magic for BTSnoop files +# +# From +0 string btsnoop\0 BTSnoop +>8 belong x version %d, +>12 belong 1001 Unencapsulated HCI +>12 belong 1002 HCI UART (H4) +>12 belong 1003 HCI BCSP +>12 belong 1004 HCI Serial (H5) +>>12 belong x type %d diff --git a/magic/Magdir/filesystems b/magic/Magdir/filesystems index e8134c31..1fbe281e 100644 --- a/magic/Magdir/filesystems +++ b/magic/Magdir/filesystems @@ -44,12 +44,11 @@ >0x27E leshort 0xAA55 #offset is 128 >>19 ubyte 128 ->>>(19.b-1) ubyte 0x0 DOS Emulator image ->>>>7 ulong >0 \b, %u heads ->>>>11 ulong >0 \b, %d sectors/track ->>>>15 ulong >0 \b, %d cylinders - ->0x27E leshort 0xAA55 DOS Emulator image +>>>(19.b-1) ubyte 0x0 DOS Emulator image +>>>>7 ulelong >0 \b, %u heads +>>>>11 ulelong >0 \b, %d sectors/track +>>>>15 ulelong >0 \b, %d cylinders + 0x1FE leshort 0xAA55 x86 boot sector >2 string OSBS \b, OS/BS MBR # J\xf6rg Jenderek