dump 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. #------------------------------------------------------------------------------
  2. # dump: file(1) magic for dump file format--for new and old dump filesystems
  3. #
  4. # We specify both byte orders in order to recognize byte-swapped dumps.
  5. #
  6. 24 belong 60012 new-fs dump file (big endian),
  7. >4 bedate x Previous dump %s,
  8. >8 bedate x This dump %s,
  9. >12 belong >0 Volume %ld,
  10. >692 belong 0 Level zero, type:
  11. >692 belong >0 Level %d, type:
  12. >0 belong 1 tape header,
  13. >0 belong 2 beginning of file record,
  14. >0 belong 3 map of inodes on tape,
  15. >0 belong 4 continuation of file record,
  16. >0 belong 5 end of volume,
  17. >0 belong 6 map of inodes deleted,
  18. >0 belong 7 end of medium (for floppy),
  19. >676 string >\0 Label %s,
  20. >696 string >\0 Filesystem %s,
  21. >760 string >\0 Device %s,
  22. >824 string >\0 Host %s,
  23. >888 belong >0 Flags %x
  24. 24 belong 60011 old-fs dump file (big endian),
  25. #>4 bedate x Previous dump %s,
  26. #>8 bedate x This dump %s,
  27. >12 belong >0 Volume %ld,
  28. >692 belong 0 Level zero, type:
  29. >692 belong >0 Level %d, type:
  30. >0 belong 1 tape header,
  31. >0 belong 2 beginning of file record,
  32. >0 belong 3 map of inodes on tape,
  33. >0 belong 4 continuation of file record,
  34. >0 belong 5 end of volume,
  35. >0 belong 6 map of inodes deleted,
  36. >0 belong 7 end of medium (for floppy),
  37. >676 string >\0 Label %s,
  38. >696 string >\0 Filesystem %s,
  39. >760 string >\0 Device %s,
  40. >824 string >\0 Host %s,
  41. >888 belong >0 Flags %x
  42. 24 lelong 60012 new-fs dump file (little endian),
  43. >4 ledate x This dump %s,
  44. >8 ledate x Previous dump %s,
  45. >12 lelong >0 Volume %ld,
  46. >692 lelong 0 Level zero, type:
  47. >692 lelong >0 Level %d, type:
  48. >0 lelong 1 tape header,
  49. >0 lelong 2 beginning of file record,
  50. >0 lelong 3 map of inodes on tape,
  51. >0 lelong 4 continuation of file record,
  52. >0 lelong 5 end of volume,
  53. >0 lelong 6 map of inodes deleted,
  54. >0 lelong 7 end of medium (for floppy),
  55. >676 string >\0 Label %s,
  56. >696 string >\0 Filesystem %s,
  57. >760 string >\0 Device %s,
  58. >824 string >\0 Host %s,
  59. >888 lelong >0 Flags %x
  60. 24 lelong 60011 old-fs dump file (little endian),
  61. #>4 ledate x Previous dump %s,
  62. #>8 ledate x This dump %s,
  63. >12 lelong >0 Volume %ld,
  64. >692 lelong 0 Level zero, type:
  65. >692 lelong >0 Level %d, type:
  66. >0 lelong 1 tape header,
  67. >0 lelong 2 beginning of file record,
  68. >0 lelong 3 map of inodes on tape,
  69. >0 lelong 4 continuation of file record,
  70. >0 lelong 5 end of volume,
  71. >0 lelong 6 map of inodes deleted,
  72. >0 lelong 7 end of medium (for floppy),
  73. >676 string >\0 Label %s,
  74. >696 string >\0 Filesystem %s,
  75. >760 string >\0 Device %s,
  76. >824 string >\0 Host %s,
  77. >888 lelong >0 Flags %x
  78. 18 leshort 60011 old-fs dump file (16-bit, assuming PDP-11 endianness),
  79. >2 medate x Previous dump %s,
  80. >6 medate x This dump %s,
  81. >10 leshort >0 Volume %ld,
  82. >0 leshort 1 tape header.
  83. >0 leshort 2 beginning of file record.
  84. >0 leshort 3 map of inodes on tape.
  85. >0 leshort 4 continuation of file record.
  86. >0 leshort 5 end of volume.
  87. >0 leshort 6 map of inodes deleted.
  88. >0 leshort 7 end of medium (for floppy).
  89. 24 belong 0x19540119 new-fs dump file (ufs2, big endian),
  90. >896 beqdate x Previous dump %s,
  91. >904 beqdate x This dump %s,
  92. >12 belong >0 Volume %ld,
  93. >692 belong 0 Level zero, type:
  94. >692 belong >0 Level %d, type:
  95. >0 belong 1 tape header,
  96. >0 belong 2 beginning of file record,
  97. >0 belong 3 map of inodes on tape,
  98. >0 belong 4 continuation of file record,
  99. >0 belong 5 end of volume,
  100. >0 belong 6 map of inodes deleted,
  101. >0 belong 7 end of medium (for floppy),
  102. >676 string >\0 Label %s,
  103. >696 string >\0 Filesystem %s,
  104. >760 string >\0 Device %s,
  105. >824 string >\0 Host %s,
  106. >888 belong >0 Flags %x
  107. 24 lelong 0x19540119 new-fs dump file (ufs2, little endian),
  108. >896 leqdate x This dump %s,
  109. >904 leqdate x Previous dump %s,
  110. >12 lelong >0 Volume %ld,
  111. >692 lelong 0 Level zero, type:
  112. >692 lelong >0 Level %d, type:
  113. >0 lelong 1 tape header,
  114. >0 lelong 2 beginning of file record,
  115. >0 lelong 3 map of inodes on tape,
  116. >0 lelong 4 continuation of file record,
  117. >0 lelong 5 end of volume,
  118. >0 lelong 6 map of inodes deleted,
  119. >0 lelong 7 end of medium (for floppy),
  120. >676 string >\0 Label %s,
  121. >696 string >\0 Filesystem %s,
  122. >760 string >\0 Device %s,
  123. >824 string >\0 Host %s,
  124. >888 lelong >0 Flags %x