home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Trees / V6 / usr / man / man5 / dump.5 < prev    next >
Encoding:
Text File  |  1975-06-26  |  1.8 KB  |  84 lines

  1. .th DUMP V 2/11/75
  2. .sh NAME
  3. dump \*- incremental dump tape format
  4. .sh DESCRIPTION
  5. The
  6. .it dump
  7. and
  8. .it restor
  9. commands are used to write
  10. and read incremental dump magnetic tapes.
  11. .s3
  12. The dump tape consists of
  13. blocks of 512-bytes each.
  14. The first block has the following structure.
  15. .s3
  16. .nf
  17. struct {
  18.     int    isize;
  19.     int    fsize;
  20.     int    date[2];
  21.     int    ddate[2];
  22.     int    tsize;
  23. };
  24. .s3
  25. .fi
  26. .it Isize,
  27. and
  28. .it fsize
  29. are the corresponding values from the
  30. super block of the dumped file system.
  31. (See file system (V).)
  32. .it Date
  33. is the date of the dump.
  34. .it Ddate
  35. is the incremental dump date.
  36. The incremental dump contains
  37. all files modified
  38. between
  39. .it ddate
  40. and
  41. .it date.
  42. .it Tsize
  43. is the number of blocks per
  44. reel.
  45. This block checksums to the octal value
  46. 031415.
  47. .s3
  48. Next there are enough whole tape blocks
  49. to contain one word per file of the dumped file system.
  50. This is
  51. .it isize
  52. divided by 16 rounded to the next higher integer.
  53. The first word corresponds to i-node 1, the second to i-node 2, and
  54. so forth.
  55. If a word is zero, then the corresponding file
  56. exists, but was not dumped.
  57. (Was not modified after
  58. .it ddate)
  59. If the word is \*-1,
  60. the file does not exist.
  61. Other values for the word
  62. indicate that the file was dumped and the value
  63. is one more than the number of blocks it contains.
  64. .s3
  65. The rest of the tape
  66. contains for each dumped file
  67. a header block and the data blocks
  68. from the file.
  69. The header contains an exact copy of the
  70. i-node
  71. (see file system (V))
  72. and also checksums to
  73. 031415.
  74. The next-to-last word of the block contains the tape block number,
  75. to aid in (unimplemented)
  76. recovery after tape errors.
  77. The number of data blocks per file is
  78. directly specified by the control word for the file
  79. and indirectly specified by the size in the i-node.
  80. If these numbers differ,
  81. the file was dumped with a `phase error'.
  82. .sh "SEE ALSO"
  83. dump (VIII), restor (VIII), file system(V)
  84.