Pathname mapping, Pname command, Gname command – HP NonStop G-Series User Manual

Page 72: Pname command gname command

Advertising
background image

OSS Pathname

Guardian Filename

/G/p/#pty12

$P.#pty12

/E/node1/G/vol/subvol/file

\node1.$vol.subvol.file

The $ (dollar sign) in front of the volume name is not retained.

Pathname Mapping

Because of differences between OSS pathnames and Guardian filenames, each OSS file is assigned
an underlying Guardian filename in addition to its OSS name.

The Guardian names for OSS files are based on each file’s inode number. These names serve as
Guardian identifiers to the OSS files.

For example, the Guardian filename for the OSS pathname /usr/rick/sales/notes might
be:

$VOL2.ZYQ00001.Z0000034

The OSS files reside in special subvolumes in the Guardian file system. The names of these
subvolumes always begin with the letters ZYQ.

The ZYQ subvolumes have special restrictions. They are accessible only from the OSS environment.
From the Guardian environment, you cannot open these subvolumes, directly access their contents,
or create new files within them. From the OSS environment, the files are accessible through the /G
directory, where they appear as regular OSS files, directories, and subdirectories.

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 fully
qualified filename.

The second line of the following example shows the result of entering the pname command from
the pathname /h/goldg:

/h/goldg: pname '\SATURN.$OSS.ZYQ00001.Z00001Y8'
pname: \SATURN.$OSS.ZYQ00001.Z00001Y8 --> /h/goldg/.kshrc

gname Command

To display the Guardian equivalent of an OSS pathname, enter the following command from the
OSS shell:

gname [-s] pathname

The second line of the following example shows the result of entering the gname command from
the pathname /h/goldg:

/h/goldg: gname /h/goldg/.kshrc
gname: /h/goldg/.kshrc --> \SATURN.$OSS.ZYQ00001.Z000018

Running Guardian Processes From the OSS Environment

You can run some Guardian processes from the OSS environment using the gtacl command.

For example, from the OSS environment you can change the security of a file in the Guardian
environment using the Guardian File Utility Program (FUP) SECURE command.

To change the security of a Guardian file named myfile to “nu-u,” at the OSS prompt enter:

gtacl -c 'fup secure myfile, "nu-u" '

To copy a file from one subvolume to another, at the OSS prompt enter:

72

Interoperability Between OSS and Guardian Environments

Advertising
This manual is related to the following products: