]> granicus.if.org Git - file/commitdiff
Add more extensions (Joerg Jenderek)
authorChristos Zoulas <christos@zoulas.com>
Wed, 13 Mar 2019 02:55:07 +0000 (02:55 +0000)
committerChristos Zoulas <christos@zoulas.com>
Wed, 13 Mar 2019 02:55:07 +0000 (02:55 +0000)
magic/Magdir/linux

index 0486656f6a6b0bb26f9862763a9a7c32bd15f2bb..25193aef213e862dd6780fc762ee3853ebd6c238 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: linux,v 1.65 2018/07/16 12:32:08 christos Exp $
+# $File: linux,v 1.66 2019/03/13 02:55:07 christos Exp $
 # linux:  file(1) magic for Linux files
 #
 # Values for Linux/i386 binaries, from Daniel Quinlan <quinlan@yggdrasil.com>
 # and Nicolas Lichtmaier <nick@debian.org>
 # All known start with: b8 c0 07 8e d8 b8 00 90 8e c0 b9 00 01 29 f6 29
 # Linux kernel boot images (i386 arch) (Wolfram Kleff)
+# URL: https://www.kernel.org/doc/Documentation/x86/boot.txt
 514    string          HdrS            Linux kernel
 !:strength + 55
+# often no extension like in linux, vmlinuz, bzimage or memdisk but sometimes
+# Acronis Recovery kernel64.dat and Plop Boot Manager plpbtrom.bin
+# DamnSmallLinux 1.5 damnsmll.lnx 
+!:ext  /dat/bin/lnx
 >510   leshort         0xAA55          x86 boot executable
 >>518  leshort         >0x1ff
 >>>529 byte            0               zImage,
 
 # Linux ARM compressed kernel image
 # From: Kevin Cernekee <cernekee@gmail.com>
+# Update: Joerg Jenderek
 36     lelong  0x016f2818      Linux kernel ARM boot executable zImage (little-endian)
+# raspian "kernel7.img", Vu+ Ultimo4K "kernel_auto.bin"
+!:ext  img/bin
 36     belong  0x016f2818      Linux kernel ARM boot executable zImage (big-endian)
 
 ############################################################################