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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

pax<br />

Rule: Specifying more than one of the mutually exclusive options -H and -L<br />

shall not be considered an error and the last option specified shall<br />

determine the behavior of the utility.<br />

–l Is applicable only when you are in copy mode—that is, when you are using<br />

the –rw format to copy files to another directory. If you specify –l, pax<br />

creates links to the original files whenever possible, rather than copying<br />

them.<br />

–M Creates empty directories within the target directory tree for each active<br />

mount point encountered within the source directory tree. pax identifies<br />

mount points by checking if a subdirectory in the source tree is on the same<br />

device as the parent current directory. This behavior is like the current pax<br />

-X option (write out only those files and directories that are on the same<br />

device as their parent directory) except instead of skipping the subdirectory<br />

entirely a corresponding empty directory is created in the target directory<br />

tree. Any contents in the subdirectory on the source directory tree are<br />

ignored.<br />

Restriction: The –M option is only for pax copy mode.<br />

–n Treats the pattern arguments as ordinary path names. You can use this<br />

option only when you specify –r but not –w. pax extracts only the first<br />

component with a given pathname, even if the archive contains several<br />

components with the same name. pax checks the given path names<br />

against the archive before applying any renaming from the –i, or –s options.<br />

pax writes an error message for each specified file that cannot be found in<br />

the archive.<br />

–o A Displays extended ACL (access control list) data.<br />

Tip: Specifying pax –o A does not automatically turn on the verbose table<br />

of contents format. You must also specify –v to display the file permission<br />

bit settings associated with the file.<br />

For more information on ACLs, see z/<strong>OS</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> Planning<br />

and “ACL (access control list) pax support” on page 500.<br />

–o options<br />

Provides information for modifying the algorithm for writing and extracting<br />

files.<br />

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

The following set of options controls the use of z/<strong>OS</strong> extended USTAR<br />

support for the USTAR, <strong>OS</strong>390 format and pax format to preserve, restore,<br />

and display z/<strong>OS</strong> specific information such as external links, extended<br />

attributes, file tag information, ACLs, and other information (long link names,<br />

for example) not otherwise supported by the USTAR format. The <strong>OS</strong>390<br />

and pax format saves those z/<strong>OS</strong> specific attributes by default. For more<br />

information on extended USTAR support, see “z/<strong>OS</strong> extended USTAR<br />

support” on page 498.<br />

Note: In addition to the below options, environment variable<br />

_<strong>OS</strong>390_USTAR=Y may be used to turn on the z/<strong>OS</strong> extended<br />

USTAR support for USTAR format.<br />

–o keyword[[:]=value][,keyword[[:]=value], ...]<br />

The value of options shall consist of one or more keywords or<br />

keyword/value pairs of the form:<br />

–o keyword[[:]=value][,keyword[[:]=value], ...]

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

Saved successfully!

Ooh no, something went wrong!