Open System Services System Calls Reference Manual (G06.25+, H06.03+)

Miscellaneous lename(5)
qualifier A character string of two to eight valid characters, specifying a unique identier
signicant to the device. The rst character must be a number sign (#). Valid
characters for the rest of the string are the letters A through Z and the digits 0
through 9. The second character must be a letter.
For a named process, Guardian lename rules are complex. Guardian named processes are not
accessible through the OSS le system, so the rules are not discussed here.
Guardian unnamed processes are not accessible through the OSS le system, so identication of
them is not discussed here.
Refer to the Guardian Procedure Calls Reference Manual for more information about Guardian
lenames.
Translating Guardian Filenames to OSS Filenames/Pathnames
Each portion of a Guardian lename is separately translated to a valid OSS lename. The result-
ing pathname is prexed by /G/ for the local NonStop server node and by /E/node_name/G/ for a
remote NonStop server node.
The OSS pathname for the Guardian lename of a disk le therefore becomes
/E/node_name/G/volume_name/subvolume_name/le_id. The /E/ prex and node name is omit-
ted from the translation for the /G directory on the local node.
The following character translations also occur:
Any dollar sign is deleted.
Periods are translated to slashes.
All uppercase letters are translated to lowercase as a normalizing convention. This trans-
lation allows lename pattern matching; pattern matching is case-sensitive in the OSS
le system.
Translating OSS Filenames/Pathnames to Guardian Filenames
Each OSS lename within a pathname that includes the /G directory is translated to the appropri-
ate part of a fully qualied Guardian lename. The OSS pathname for a le in the /G directory
cannot contain more OSS lename components than the corresponding Guardian lename per-
mits. Extra components cause an operation to fail; an errno value (described under ERRORS
later in this reference page) is returned for function calls.
For a le on the local NonStop server node, the prex /G/ is translated to the local node name.
For a le on a remote NonStop server node, the prex /E/node_name/G/ is translated to the
remote node name.
The OSS lenames . (dot) and ..(dot-dot) translate to the corresponding portions of an appropri-
ately resolved OSS pathname when the current working directory is within a /G directory.
The following character translations also occur:
A dollar sign is prexed to an OSS lename that corresponds to a Guardian volume name
or to a Guardian process device name.
Periods, hyphens (-), and underscores (_) within OSS lenames are deleted.
OSS lenames longer than eight characters are truncated to seven or eight characters, as
appropriate under Guardian lename rules.
527186-003 Hewlett-Packard Company 1233