pmem 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. #------------------------------------------------------------------------------
  2. # $File: pmem,v 1.4 2021/04/26 15:56:00 christos Exp $
  3. # pmem: file(1) magic for Persistent Memory Development Kit pool files
  4. #
  5. 0 string PMEM
  6. >4 string POOLSET Persistent Memory Poolset file
  7. >>11 search REPLICA with replica
  8. >4 regex LOG|BLK|OBJ Persistent Memory Pool file, type: %s,
  9. >>8 lelong >0 version: %#x,
  10. >>12 lelong x compat: %#x,
  11. >>16 lelong x incompat: %#x,
  12. >>20 lelong x ro_compat: %#x,
  13. >>120 leqldate x crtime: %s,
  14. >>128 lequad x alignment_desc: %#016llx,
  15. >>136 clear x
  16. >>136 byte 2 machine_class: 64-bit,
  17. >>136 default x machine_class: unknown
  18. >>>136 byte x (%#d),
  19. >>137 clear x
  20. >>137 byte 1 data: little-endian,
  21. >>137 byte 2 data: big-endian,
  22. >>137 default x data: unknown
  23. >>>137 byte x (%#d),
  24. >>138 byte !0 reserved[0]: %d,
  25. >>139 byte !0 reserved[1]: %d,
  26. >>140 byte !0 reserved[2]: %d,
  27. >>141 byte !0 reserved[3]: %d,
  28. >>142 clear x
  29. >>142 leshort 62 machine: x86_64
  30. >>142 leshort 183 machine: aarch64
  31. >>142 default x machine: unknown
  32. >>>142 leshort x (%#d)
  33. >4 string BLK
  34. >>4096 lelong x \b, blk.bsize: %d
  35. >4 string OBJ
  36. >>4096 string >0 \b, obj.layout: '%s'
  37. >>4096 string <0 \b, obj.layout: NULL