Open System Services Shell and Utilities Reference Manual (G06.29+, H06.08+, J06.03+)
User Commands (p - r) pax(1)
• Generates an EMS event message to the local collector process
• Waits indefinitely for the tape to be mounted
If the -W wait and -W noprompt flags are not specified, pax exits with the following message:
Device not ready, offline, or tape not mounted.
if the tape has not already been properly mounted on the drive. pax remains in a wait state until
an unlabeled tape has been mounted on the tape drive correctly. Use the Guardian utility MEDI-
ACOM. This utility can be invoked from the HP Tandem Advanced Command Language
(TACL) command intrpreter or from the OSS shell through the gtacl command.
If errors occur that are related to the device or the mounted tape during the tape mount process,
diagnostic messages are issued. You have a choice of correcting the errors and remounting the
tape or canceling the tape mount request through MEDIACOM.
To access remote tape drives on a system that runs a release preceding D43, do the following:
1. Set the environment variable GUARD_REMOTE_TAPE to the remote tape
devicename.
2. Invoke pax without specifying the -f flag.
Guardian Filename Transformation
Because of the syntactic differences between Guardian filenames and OSS filenames, the follow-
ing behaviors can occur when an archive member is restored to a Guardian system.
A Guardian filename that is generated by the underlying OSS function calls for the file might
contain illegal Guardian filename characters. As a result, the archive member cannot be created
on the Guardian target and the restore fails.
In the name conversion process, OSS filenames that are longer than eight characters are truncated
to the first valid eight characters. For example, an OSS filename like abcde.fghi is converted to
the Guardian name ABCDEFGH. This can cause confusion and make identification of files
difficult. Filenames that are similiar might be converted to the same filename. This results in the
file overwriting a previously restored file.
Environment Variables
The following environment variables affect the execution of the pax command:
GUARD_REMOTE_TAPE
Specifies the Guardian device name of a tape device.
LANG Provides a default value for the internationalization variables that are NULL. If
LANG is unset or NULL, the corresponding value from the implementation-specific
default locale is used. If internationalization variables contain invalid settings, pax
behaves as though none of the variables had been defined.
LC_ALL
When given a valid setting, overrides the values of all the other internationalization
variables.
LC_COLLATE
Determines the locale for the behavior of ranges, equivalence classes and multi-
character collating elements used in the pattern-matching expressions for the pattern
operand, the basic regular expression for the -s flag, and the extended regular expres-
sion defined for the yesexpr locale keyword in the LC_MESSAGES variable.
527188-021 Hewlett-Packard Company 7−19