Open System Services Management and Operations Guide (G06.25+, H06.03+)

Understanding the OSS File System
Open System Services Management and Operations Guide527191-002
3-6
OSS File Components
Such a search would be extremely time-consuming and would return undesired
information on /E and /G files.
OSS shell commands that perform recursive operations include:
chgrp cp ls rm
chmod diff mv rmdir
chown find pax
Other products running in the OSS environment might also have commands with
recursive behavior. For example, the grep, egrep, fgrep, tar, and cpio utilities
should not be used on the / directory because of the scope of the files involved.
Avoid specifying the / directory or using the wildcard character * on any object in an
OSS shell command. Using these commands when you are logged on with the super
ID can have far-reaching consequences.
Recursive OSS shell commands allow you to avoid unwanted behavior when the /
directory is specified in a recursive command. You use the -W flag in the command
with one or both of the following options to specify the behavior you want from that
invocation of the command:
For example, the following command performs a recursive search of the / directory
without searching the /G and /E directories:
find / -W NOG -W NOE -name log*
See the Open System Services Shell and Utilities Reference Manual for more
information on the use of the -W flag with a specific command.
The OSS shell also supports an environment variable, UTILSGE, that allows you to
specify recursive command behavior for an entire terminal session (or until the value of
UTILSGE is changed). The UTILSGE variable accepts the same values as the -W
command flag. To use UTILSGE, you either enter the appropriate one of the following
at a shell prompt or add it to your .profile file:
export UTILSGE=NOE
export UTILSGE=NOG
export UTILSGE=NOG:NOE
OSS File Components
Each OSS data file, or regular file, consists of two components:
The catalog portion, which is recorded in an OSS name server catalog file. This
portion supplies structural information about the file.
Option Effect
NOE The
/E directory is skipped during recursive operations.
NOG The
/G directory is skipped during recursive operations.