212-magic-add-xen.patch 572 B

12345678910111213141516
  1. Author: Radek Vokal <rvokal@redhat.com>
  2. Description: xen patch, recognizes Xen saved domain
  3. diff -Naurp file.orig/magic/Magdir/linux file/magic/Magdir/linux
  4. --- file.orig/magic/Magdir/linux 2008-01-12 17:47:04.000000000 +0000
  5. +++ file/magic/Magdir/linux 2008-01-12 17:46:42.000000000 +0000
  6. @@ -248,3 +248,9 @@
  7. >72 string x %s]
  8. >168 string x UUID: %s
  9. +# Type: Xen, the virtual machine monitor
  10. +# From: Radek Vokal <rvokal@redhat.com>
  11. +0 string LinuxGuestRecord Xen saved domain
  12. +#>2 regex \(name\ [^)]*\) %s
  13. +>20 search/256 (name (name
  14. +>>&1 string x %s...)