Open System Services Management and Operations Guide (G06.25+, H06.03+)
Managing OSS Files
Open System Services Management and Operations Guide—527191-002
6-3
Using the OSS pname Command
When more than one OSS pathname matches the possible wildcard expansion, only
the last file with a matching pathname is listed. Figure 6-1 illustrates this, where both
test and test2 are in the directory /usr on the NonStop node \NODE1 but only
test2 is listed for the command gname tes*.
Using the OSS pname Command
To display the OSS equivalent of a Guardian filename, enter the following command
from the OSS shell:
pname [-s] filename
where the optional -s flag displays only the OSS pathname and filename is a
Guardian system-qualified filename.
Figure 6-2 shows examples of using pname. When the file is on another NonStop
node, the pathname of the file relative to the / directory on that node is displayed after
the prefix of /E/ and the node name.
Using FUP INFO on OSS Regular Files
The FUP INFO display for an OSS regular file (you must use the Guardian equivalent
of the OSS pathname in this command) shows OSS file access permissions rather
than Guardian security. Examples of displays from the FUP INFO and FUP INFO,
DETAIL commands for OSS regular files are shown in Figure 6-3 on page 6-4.
The FUP INFO, DETAIL display shows the OSS pathname for the file next to the PATH
heading. The OSS permissions appear under the RWEP heading in the FUP INFO
Figure 6-1. OSS gname Command Examples
$ gname test
gname: test --> \NODE1.$VOL.ZYQ00000.Z0000DV3
$ gname tes*
gname: test2 --> \NODE1.$VOL.ZYQ00000.Z0000KHP
$ gname -s test
\NODE1.$VOL.ZYQ00000.Z0000DV3
$ gname /E/node2/usr/test3
gname: /E/node2/usr/test3 --> \NODE2.$DATA.ZYQ00001.Z0000DV2
Note. In filename, you must put another backslash character before the backslash (\) and
dollar sign ($) characters or else the shell interprets these characters with their special shell
meanings rather than as plain characters.
Figure 6-2. OSS pname Command Examples
$ pname \\NODE1.\$VOL.ZYQ00000.Z0000DV3
pname: \NODE1.$VOL.ZYQ00000.Z0000DV3 --> /home/henrysp/test
$ pname -s \\NODE1.\$VOL.ZYQ00000.Z0000DV3
/home/henrysp/test
$ pname \\NODE2.\$DATA.ZYQ00001.Z0000DV2
pname: \NODE2.$DATA.ZYQ00001.Z0000DV2 --> /E/node2/usr/test3