0011-btrfs.patch 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. Author: Russell Coker <russell@coker.com.au>
  2. Description: Adding updated magics for BTRFS (Closes: #663454).
  3. --- a/magic/Magdir/filesystems
  4. +++ b/magic/Magdir/filesystems
  5. @@ -2202,12 +2202,21 @@
  6. >>0x10060 string >\0 lockproto %s)
  7. # BTRFS
  8. -0x10040 string _BHRfS_M BTRFS Filesystem
  9. ->0x1012b string >\0 (label "%s",
  10. ->0x10090 lelong x sectorsize %d,
  11. ->0x10094 lelong x nodesize %d,
  12. ->0x10098 lelong x leafsize %d)
  13. -
  14. +# Russell Coker <russell@coker.com.au>
  15. +0x10040 string _BHRfS_M BTRFS Filesystem
  16. +>0x1012b string >\0 label "%s",
  17. +>0x10090 lelong x sectorsize %d,
  18. +>0x10094 lelong x nodesize %d,
  19. +>0x10098 lelong x leafsize %d,
  20. +>0x10020 belong x UUID=%8x-
  21. +>0x10024 beshort x \b%4x-
  22. +>0x10026 beshort x \b%4x-
  23. +>0x10028 beshort x \b%4x-
  24. +>0x1002a beshort x \b%4x
  25. +>0x1002c belong x \b%8x,
  26. +>0x10078 lequad x %lld/
  27. +>0x10070 lequad x \b%lld bytes used,
  28. +>0x10088 lequad x %lld devices
  29. # dvdisaster's .ecc
  30. # From: "Nelson A. de Oliveira" <naoliv@gmail.com>