229-magic-add-xfsdump.patch 712 B

1234567891011121314151617
  1. Author: Daniel Novotny <dnovotny@redhat.com>
  2. Description: Add new magic for xfs dumps.
  3. diff -Naurp file.orig/magic/Magdir/filesystems file/magic/Magdir/filesystems
  4. --- file.orig/magic/Magdir/filesystems 2009-12-05 17:44:07.000000000 +0100
  5. +++ file/magic/Magdir/filesystems 2009-12-05 17:46:52.000000000 +0100
  6. @@ -1414,3 +1414,10 @@
  7. >40 ulelong >0 \b fblock size = %ld,
  8. >44 ulelong >0 \b block size = %ld,
  9. >48 ulequad >0 \b bytes = %lld
  10. +
  11. +# Type: xfs metadump image
  12. +# From: Daniel Novotny <dnovotny@redhat.com>
  13. +# mb_magic XFSM at 0; superblock magic XFSB at 1 << mb_blocklog
  14. +# but can we do the << ? For now it's always 512 (0x200) anyway.
  15. +0 string XFSM
  16. +>0x200 string XFSB XFS filesystem metadump image