217-magic-add-cromfs.patch 778 B

123456789101112131415161718192021
  1. Author: Werner Fink <werner@suse.de>
  2. Description: Adds new magic for CROM filesystem.
  3. diff -Naurp file.orig/magic/Magdir/filesystems file/magic/Magdir/filesystems
  4. --- file.orig/magic/Magdir/filesystems 2010-02-01 12:11:02.000000000 +0000
  5. +++ file/magic/Magdir/filesystems 2010-02-01 12:12:16.000000000 +0000
  6. @@ -1500,3 +1500,14 @@
  7. 0 string XFSM
  8. >0x200 string XFSB XFS filesystem metadump image
  9. +# Type: CROM filesystem
  10. +# From: Werner Fink <werner@suse.de>
  11. +0 string CROMFS CROMFS
  12. +>6 string >\0 \b version %2.2s,
  13. +>8 ulequad >0 \b block data at %lld,
  14. +>16 ulequad >0 \b fblock table at %lld,
  15. +>24 ulequad >0 \b inode table at %lld,
  16. +>32 ulequad >0 \b root at %lld,
  17. +>40 ulelong >0 \b fblock size = %ld,
  18. +>44 ulelong >0 \b block size = %ld,
  19. +>48 ulequad >0 \b bytes = %lld