Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ tp(5) — Ultrix-11 3.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

tp(1)

filsys(5)

tp(5)

NAME

tp − DEC/mag tape formats

DESCRIPTION

The tp command dumps files to and extracts files from DECtape and magtape.  The formats of these tapes are the same except that magtapes have larger directories. 

Block zero contains a copy of a stand-alone bootstrap program. 

Blocks 1 through 24 for DECtape (1 through 62 for magtape) contain a directory of the tape.  There are 192 (resp. 496) entries in the directory; 8 entries per block; 64 bytes per entry.  Each entry has the following format:

struct {
charpathname[32];
intmode;
charuid;
chargid;
charunused1;
charsize[3];
longmodtime;
inttapeaddr;
charunused2[16];
intchecksum;
};

The pathname entry is the path name of the file when put on the tape.  If it starts with a zero word, the entry is empty.  It is at most 32 bytes long and ends in a null byte.  The mode, uid, gid, size and time modified are the same as described under inodes.  For further information, see file system filsys(5).  The tapeaddress is the tape block number of the start of the contents of the file.  Every file starts on a block boundary.  The file occupies (size+511)/512 blocks of continuous tape.  The checksum entry has a value such that the sum of the 32 words of the directory entry is zero. 

Blocks above 25 (resp. 63) are available for file storage. 

A fake entry has a size of zero. 

RESTRICTIONS

The pathname, uid, gid, and size fields are too small. 

SEE ALSO

tp(1), filsys(5)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026