Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)
User Commands (p - r) pax(1)
Any attempt to append an archive file in a format that is different from the existing for-
mat causes pax to exit immediately with a nonzero exit value.
-X Prevents pax from descending into directories that have a different device ID when
traversing the file hierarchy specified by a pathname.
HP Extensions
-W clobber
Allows the matching files from an archive to be restored to a Guardian target and to
overwrite any existing Guardian target file with the same name. The files are restored
as unstructured files and Guardian file attributes are not preserved.
Be sure you understand the problems this can create (refer to the subsection Guardian
Filename Transformation under DESCRIPTION before using this flag).
-W NOG
Specifies that the Guardian namespace (/G) should not be accessible to pax. This flag
is effective only if the specified file is in the local (/G) or remote (/E/node/G) Guardian
namespace.
-W NOE Specifies that the Expand namespace (/E) should not be accessible to pax. This flag is
effective only if the specified file is in the Expand (/E) namespace.
-W noprompt
Specifies that pax should not prompt the user to load a tape. pax waits indefinitely
until the tape gets mounted. The -W noprompt flag has precedence over the -W wait
flag.
-W norewind
Specifies that the tape be left on the tape drive without being rewound and unloaded
after pax has finished writing to or reading from it. The tape drive is closed. The
default action is for the tape to be rewound.
The pax utility cannot append files on unlabeled tapes. Refer to the NOTES subsec-
tion of this reference page for more information.
The -W nounload flag is assumed when the -W norewind flag is specified. The -W
unload and -W norewind flags cannot be specified together.
-W [unload | nounload]
Specifies whether the tape is to be unloaded or left on the tape drive after it has been
rewound. The default action is -W unload.
-W [wait | nowait]
Specifies which of the following pax is to do if a tape is not mounted on the tape drive
or the tape drive goes off line:
• Issue a prompt and wait for you to mount a tape
• Exit immediately, without waiting
The default action is -W nowait.
Specify both the -W NOG and -W NOE flags to omit both the /G and /E directories.
527188-007 Hewlett-Packard Company 7−15