230-magic-add-ppc-swapfile.patch 622 B

1234567891011121314151617
  1. Author: Daniel Novotny <dnovotny@redhat.com>
  2. Description: Add new magic for ppc swapfiles.
  3. diff -Naurp file.orig/magic/Magdir/linux file/magic/Magdir/linux
  4. --- file.orig/magic/Magdir/linux 2009-12-05 17:44:07.000000000 +0100
  5. +++ file/magic/Magdir/linux 2009-12-05 17:50:38.000000000 +0100
  6. @@ -69,6 +69,10 @@
  7. >0x414 beshort x \b-%04x
  8. >0x416 belong x \b-%08x
  9. >0x41a beshort x \b%04x
  10. +
  11. +# From: Daniel Novotny <dnovotny@redhat.com>
  12. +65526 string SWAPSPACE2 Linux/ppc swap file
  13. +
  14. # ECOFF magic for OSF/1 and Linux (only tested under Linux though)
  15. #
  16. # from Erik Troan (ewt@redhat.com) examining od dumps, so this