16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

tar<br />

Description of the Header Files<br />

In the headers:<br />

v The name field contains the name of the archived file. On USTAR format archives,<br />

the value of the prefix field, if non-null, is prefixed to the name field to allow<br />

names longer than 100 characters.<br />

v The magic, uname, and gname fields are null-terminated character strings<br />

v The name, linkname, and prefix fields are null-terminated unless the full field is<br />

used to store a name (that is, the last character is not null).<br />

v All other fields are zero-filled octal numbers, in ASCII. Trailing nulls are present<br />

for these numbers, except for the size, mtime, and version fields.<br />

v prefix is null unless the filename exceeds 100 characters.<br />

v The size field is zero if the header describes a link.<br />

v The chksum field is a checksum of all the bytes in the header, assuming that the<br />

chksum field itself is all blanks.<br />

v For USTAR, the typeflag field is a compatible extension of the link field of the<br />

older tar format. The following values are recognized:<br />

Flag File Type<br />

0 or null Regular file<br />

1 Link to another file already archived<br />

2 Symbolic link<br />

3 Character special file<br />

4 Block special file (not supported)<br />

5 Directory<br />

6 FIFO special file<br />

7 Reserved<br />

S z/<strong>OS</strong> extended USTAR special header<br />

T z/<strong>OS</strong> extended USTAR special header summary (S and T are<br />

z/<strong>OS</strong> extensions. See “z/<strong>OS</strong> extended USTAR support” on page<br />

498 for more information.)<br />

A–Z Available for custom usage<br />

v In USTAR format, the uname and gname fields contain the name of the owner and<br />

group of the file, respectively.<br />

Compressed tar archives are equivalent to the corresponding archive being passed<br />

to a 14-bit compress command.<br />

Related Information<br />

The cpio and tar commands<br />

utmpx — Format of login accounting files<br />

Description<br />

Login accounting information is stored in two files:<br />

v /etc/utmpx holds the current state of each item being accounted<br />

v /etc/wtmp maintains the history of changes to each accounting item<br />

924 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> <strong>Command</strong> Reference

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!