Open System Services Management and Operations Guide (G06.29+, H06.07+)
Managing OSS Files
Open System Services Management and Operations Guide—527191-005
6-27
Redirecting OSS Standard Files
-f archive-name
specifies the pathname of the input archive, overriding the default standard input
file. Guardian tape devices can be specified with the /G naming convention (for
example, /G/tape).
-W clobber match-pattern
is a HP extension. This flag allows selected files from an archive to be stored on a
Guardian target and to overwrite any preexisting Guardian target file with the same
name. Users must be aware that the files are restored as unstructured files and
that Guardian file attributes might not be preserved.
The variable match-pattern is a normal wildcard matching pattern for an OSS
filename. In the example, any file with a name ending in the characters .c is
matched and therefore overwritten.
Verifying a Restored OSS File Backup
The dircmp utility reads two directories, compares their contents, and writes the
results to the standard output file. Use dircmp to determine whether the contents of
two directories differ in any way, such as when you restore backed-up files to a new
location and want to be sure the contents are copied correctly.
The dircmp utility compares the filenames in each directory. When the same filename
appears in both, dircmp compares the contents of the two files. In the output, dircmp
first lists the files unique to each directory, then lists the files that have identical names
but different contents. By default, dircmp also lists files that have both identical names
and identical contents.
For more information about the dircmp command, see the dircmp(1) reference
page either online or in the Open System Services Shell and Utilities Reference
Manual.
Redirecting OSS Standard Files
OSS processes use a different set of default files and a different file format than
Guardian processes do. An OSS process always has three unstructured standard files,
usually referred to in UNIX documentation as stdin, stdout, and stderr.
In a UNIX environment, these three files are usually associated with the user’s
terminal: standard input is read from the terminal keyboard, standard output is sent to
the terminal display, and standard error is an output logging mechanism that is usually
Caution. Understand the potential danger of destroying data files (described in Guardian
Filename Transformation in the DESCRIPTION section of the pax(1) reference page) before
using the -W clobber flag to restore files to a Guardian target.
Note. An OSS file that is larger than approximately 2 gigabytes cannot be restored to a
system running an RVU that does not include support for OSS large files.