217-magic-add-cromfs.patch 842 B

12345678910111213141516171819202122
  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 2008-07-02 13:47:23.000000000 +0000
  5. +++ file/magic/Magdir/filesystems 2008-07-15 13:43:26.000000000 +0000
  6. @@ -1327,3 +1327,15 @@
  7. # dvdisaster's .ecc
  8. # From: "Nelson A. de Oliveira" <naoliv@gmail.com>
  9. 0 string *dvdisaster* dvdisaster error correction file
  10. +
  11. +# Type: CROM filesystem
  12. +# From: Werner Fink <werner@suse.de>
  13. +0 string CROMFS CROMFS
  14. +>6 string >\0 \b version %2.2s,
  15. +>8 ulequad >0 \b block data at %lld,
  16. +>16 ulequad >0 \b fblock table at %lld,
  17. +>24 ulequad >0 \b inode table at %lld,
  18. +>32 ulequad >0 \b root at %lld,
  19. +>40 ulelong >0 \b fblock size = %ld,
  20. +>44 ulelong >0 \b block size = %ld,
  21. +>48 ulequad >0 \b bytes = %lld