0011-btrfs.patch 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. Subject: Adding updated magics for BTRFS
  2. Author: Russell Coker <russell@coker.com.au>
  3. Bug-Debian: https://bugs.debian.org/663454
  4. Forwarded: http://mx.gw.com/pipermail/file/2015/001755.html
  5. Last-Update: 2015-08-23
  6. --- a/magic/Magdir/filesystems
  7. +++ b/magic/Magdir/filesystems
  8. @@ -2210,12 +2210,21 @@
  9. >>0x10060 string >\0 lockproto %s)
  10. # BTRFS
  11. -0x10040 string _BHRfS_M BTRFS Filesystem
  12. ->0x1012b string >\0 (label "%s",
  13. ->0x10090 lelong x sectorsize %d,
  14. ->0x10094 lelong x nodesize %d,
  15. ->0x10098 lelong x leafsize %d)
  16. -
  17. +# Russell Coker <russell@coker.com.au>
  18. +0x10040 string _BHRfS_M BTRFS Filesystem
  19. +>0x1012b string >\0 label "%s",
  20. +>0x10090 lelong x sectorsize %d,
  21. +>0x10094 lelong x nodesize %d,
  22. +>0x10098 lelong x leafsize %d,
  23. +>0x10020 belong x UUID=%8x-
  24. +>0x10024 beshort x \b%4x-
  25. +>0x10026 beshort x \b%4x-
  26. +>0x10028 beshort x \b%4x-
  27. +>0x1002a beshort x \b%4x
  28. +>0x1002c belong x \b%8x,
  29. +>0x10078 lequad x %lld/
  30. +>0x10070 lequad x \b%lld bytes used,
  31. +>0x10088 lequad x %lld devices
  32. # dvdisaster's .ecc
  33. # From: "Nelson A. de Oliveira" <naoliv@gmail.com>