home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / 2014.11.minnie.tuhs.org.tar / minnie.tuhs.org / UnixArchive / PDP-11 / Trees / V6 / usr / man / man5 / tp.5 < prev    next >
Text File  |  1975-06-27  |  2KB  |  69 lines

  1. .th TP V 9/10/73
  2. .sh NAME
  3. tp \*- DEC/mag tape formats
  4. .sh DESCRIPTION
  5. The
  6. command
  7. .it tp
  8. dumps files to and extracts files from
  9. DECtape and magtape.
  10. The formats of these tapes are the same except
  11. that magtapes have larger directories.
  12. .s3
  13. Block zero contains a
  14. copy of a stand-alone bootstrap program.
  15. See boot procedures (VIII).
  16. .s3
  17. Blocks 1 through 24
  18. for DECtape (1 through 62 for magtape)
  19. contain a directory of the tape.
  20. There are 192 (resp. 496) entries in the directory;
  21. 8 entries per block;
  22. 64 bytes per entry.
  23. Each entry has the following format:
  24. .s3
  25. .lp +24 20
  26. path name    32 bytes
  27. .lp +24 20
  28. mode    2 bytes
  29. .lp +24 20
  30. uid    1 byte
  31. .lp +24 20
  32. gid    1 byte
  33. .lp +24 20
  34. unused    1 byte
  35. .lp +24 20
  36. size    3 bytes
  37. .lp +24 20
  38. time modified    4 bytes
  39. .lp +24 20
  40. tape address    2 bytes
  41. .lp +24 20
  42. unused    16 bytes
  43. .lp +24 20
  44. check sum    2 bytes
  45. .s3
  46. .i0
  47. The path name entry is the path name of the
  48. file when put on the tape.
  49. If the pathname starts with a zero word,
  50. the entry is empty.
  51. It is at most 32 bytes long and ends in a null byte.
  52. Mode, uid, gid, size and time modified
  53. are the same as described under i-nodes (file system (V)).
  54. The tape address is the tape block number of the start of
  55. the contents of the file.
  56. Every file
  57. starts on a block boundary.
  58. The file occupies (size+511)/512 blocks
  59. of continuous tape.
  60. The checksum entry has a value such that
  61. the sum of the 32 words of the directory entry is zero.
  62. .s3
  63. Blocks 25 (resp. 63) on are available for file storage.
  64. .s3
  65. A fake entry (see tp (I))
  66. has a size of zero.
  67. .sh "SEE ALSO"
  68. file system (V), tp (I)
  69.